This is intended to be a softer version of `allow-import-from-derivation`, allowing for users to only flag when IFD is encountered rather than error out Based-on: https://github.com/NixOS/nix/pull/13279 Co-authored-by: gustavderdrache <alex.ford@determinate.systems> Co-authored-by: Eelco Dolstra <edolstra@gmail.com> Change-Id: I879a444e3a24b4e82a8cea3a5a94834c78c3924a
9 lines
233 B
Bash
9 lines
233 B
Bash
source common.sh
|
|
|
|
clearStore
|
|
|
|
nix-build ./import-derivation.nix \
|
|
--no-out-link \
|
|
--option warn-import-from-derivation true \
|
|
2>&1 | grepQuiet "warning: building '.*' during evaluation due to the use of import from derivation"
|