Hi Marc, I've added it to my configuration.nix but it doesn't seem to work:
# nix-repl '<nixpkgs>' Welcome to Nix version 1.6.1. Type :? for help. Loading '<nixpkgs>'... Added 3740 variables. nix-repl> pkgs.flashplayer.name error: user-thrown exception: package 'flashplayer-11.2.202.350' in <<unknown-file>> has an unfree license, refusing to evaluate I would guess that would be because nix-repl doesn't even parse configuration.nix? On Sun, Apr 13, 2014 at 4:23 PM, Marc Weber <[email protected]> wrote: > > How do I pass "allowUnfree = true" to nix-repl, so that it lets me > evaluate > > unfree expressions? > system: > > configuration.nix: > nixpkgs.config.allowUnfree = true; > > user: > > ~/.nixpkgs/config.nix: > { pkgs, ... } : { > allowUnfree = true; > } > > Marc Weber > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
