From e5d63646a092a51f0ad7f38c4d99d2b5685c07ba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 17 Jun 2014 14:59:39 -0500 Subject: [PATCH] Don't suggest using --arg config '{ allowUnfree = true; }' This doesn't work when using the Nixpkgs/NixOS channel. Issue #2998. --- pkgs/stdenv/generic/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index c34d30d92e01..6047ecf853c5 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -82,9 +82,7 @@ let { nixpkgs.config.allowUnfree = true; } in configuration.nix to override this. If you use Nix standalone, you can add { allowUnfree = true; } - to ~/.nixpkgs/config.nix or pass - --arg config '{ allowUnfree = true; }' - on the command line.'' + to ~/.nixpkgs/config.nix.'' 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" else if !allowBroken && attrs.meta.platforms or null != null && !lib.lists.elem result.system attrs.meta.platforms then