stdenv: improve message on evaluation check (no hash changes)
This commit is contained in:
parent
123a8bf9a5
commit
e98a443e71
@ -57,9 +57,10 @@ let
|
|||||||
assert (unfreeOrBroken == "Unfree" || unfreeOrBroken == "Broken");
|
assert (unfreeOrBroken == "Unfree" || unfreeOrBroken == "Broken");
|
||||||
throw ''
|
throw ''
|
||||||
Package ‘${attrs.name}’ in ${pos'} ${whatIsWrong}, refusing to evaluate.
|
Package ‘${attrs.name}’ in ${pos'} ${whatIsWrong}, refusing to evaluate.
|
||||||
You can set
|
For `nixos-rebuild` you can set
|
||||||
{ nixpkgs.config.allow${unfreeOrBroken} = true; }
|
{ nixpkgs.config.allow${unfreeOrBroken} = true; }
|
||||||
in configuration.nix to override this. If you use Nix standalone, you can add
|
in configuration.nix to override this.
|
||||||
|
For `nix-env` you can add
|
||||||
{ allow${unfreeOrBroken} = true; }
|
{ allow${unfreeOrBroken} = true; }
|
||||||
to ~/.nixpkgs/config.nix.
|
to ~/.nixpkgs/config.nix.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user