[Nix-dev] Unfree packages in Nixpkgs

Ricardo M. Correia rcorreia at wizy.org
Sun Apr 13 16:16:21 CEST 2014


Hi,

On Wed, Apr 9, 2014 at 11:43 AM, Eelco Dolstra
<eelco.dolstra at logicblox.com>wrote:

> tl;dr version: The default value of the 'allowUnfree' Nixpkgs
> configuration flag
> has changed from 'true' to 'false'. This means that if your NixOS system
> configuration requires unfree packages, you need to add
>
>   { nixpkgs.config.allowUnfree = true; }
>
> to your configuration.nix.  If you're using Nixpkgs standalone, you need
> to add
>
>   { config.allowUnfree = true; }
>
> to ~/.nixpkgs/config.nix, or pass
>
>   --arg config '{ allowUnfree = true; }'
>
> on the command line. (Also, note that unfree packages don't even show up in
> 'nix-env -qa' unless you have allowUnfree enabled.)
>

How do I pass "allowUnfree = true" to nix-repl, so that it lets me evaluate
unfree expressions?

Thanks,
Ricardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140413/426ab7df/attachment.html 


More information about the nix-dev mailing list