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
473 B
473 B
name, internalName, type, default
| name | internalName | type | default |
|---|---|---|---|
| warn-import-from-derivation | warnImportFromDerivation | bool | false |
By default, Lix allows you to import from a derivation, allowing
building at evaluation time. With this option set to true, Lix will
throw a warning when evaluating an expression that uses this feature,
allowing users to know when their evaluation will requires any builds
to take place.
This option has no effect when allow-import-from-derivation is false.