Closed tadeokondrak closed 2 years ago
Thanks.
I use a nixos module like { nixpkgs.config.allowUnfree = true; }
myself but it does indeed suck that nix run
&co cannot work without --impure
and there does not seem to be any other kind of solution to that, so I guess it’s better to just override the setting in this flake.
When using pure evaluation, there is no way to enable nixpkgs.config.allowUnfree, making it unable to build packages.
It seems like this is just a limitation of flakes, so enable allowUnfree unconditionally in flake.nix, as this flake only has unfree packages.
...though, as I'm just writing this last message before hitting "Create pull request", I realize I can work around this by using an overlay, so it's not 100% necessary.