Don't suggest using --arg config '{ allowUnfree = true; }'
This doesn't work when using the Nixpkgs/NixOS channel. Issue #2998.
This commit is contained in:
parent
97d65d8010
commit
e5d63646a0
@ -82,9 +82,7 @@ let
|
|||||||
{ nixpkgs.config.allowUnfree = true; }
|
{ nixpkgs.config.allowUnfree = true; }
|
||||||
in configuration.nix to override this. If you use Nix standalone, you can add
|
in configuration.nix to override this. If you use Nix standalone, you can add
|
||||||
{ allowUnfree = true; }
|
{ allowUnfree = true; }
|
||||||
to ~/.nixpkgs/config.nix or pass
|
to ~/.nixpkgs/config.nix.''
|
||||||
--arg config '{ allowUnfree = true; }'
|
|
||||||
on the command line.''
|
|
||||||
else if !allowBroken && attrs.meta.broken or false then
|
else if !allowBroken && attrs.meta.broken or false then
|
||||||
throw "you can't use package ‘${attrs.name}’ in ${pos'} because it has been marked as broken"
|
throw "you can't use package ‘${attrs.name}’ in ${pos'} because it has been marked as broken"
|
||||||
else if !allowBroken && attrs.meta.platforms or null != null && !lib.lists.elem result.system attrs.meta.platforms then
|
else if !allowBroken && attrs.meta.platforms or null != null && !lib.lists.elem result.system attrs.meta.platforms then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user