(zilch lang ninja build): don't print missing errors for nix store paths
This commit is contained in:
parent
40638ad666
commit
ec05d19a1e
1 changed files with 2 additions and 3 deletions
|
|
@ -55,8 +55,7 @@
|
|||
; This file is produced by another build edge. Add it to our input vfs.
|
||||
(let ((prev-copy-input-files copy-input-files))
|
||||
(set! copy-input-files #~,(string-append #$prev-copy-input-files "\n" "$COREUTILS/mkdir -p bdir/" relative-to-root "/$($COREUTILS/dirname " path "); $COREUTILS/cp -rf " #$(force input-file) " bdir/" relative-to-root "/" path))); (set! vfs (vfs-append-file vfs (normalize-path path) (force input-file)))
|
||||
(if (string-prefix? "/nix/store" path)
|
||||
(fprintf (current-error-port) "Path doesn't exist as build edge: ~S\n" path)
|
||||
(unless (string-prefix? "/nix/store" path)
|
||||
(error "Path doesn't exist as build edge" path))))
|
||||
|
||||
; Workaround for Meson not adding the .so as build dependency when linking, instead using a .symbols file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue