lol

Don't suggest using --arg config '{ allowUnfree = true; }'

This doesn't work when using the Nixpkgs/NixOS channel.

Issue #2998.

+1 -3
+1 -3
pkgs/stdenv/generic/default.nix
··· 82 82 { nixpkgs.config.allowUnfree = true; } 83 83 in configuration.nix to override this. If you use Nix standalone, you can add 84 84 { allowUnfree = true; } 85 - to ~/.nixpkgs/config.nix or pass 86 - --arg config '{ allowUnfree = true; }' 87 - on the command line.'' 85 + to ~/.nixpkgs/config.nix.'' 88 86 else if !allowBroken && attrs.meta.broken or false then 89 87 throw "you can't use package ‘${attrs.name}’ in ${pos'} because it has been marked as broken" 90 88 else if !allowBroken && attrs.meta.platforms or null != null && !lib.lists.elem result.system attrs.meta.platforms then