From 41bf1e1cbf3157ef3eb6896c17a98a387a6c343e Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 29 Aug 2021 12:09:59 +0200 Subject: [PATCH] flake: Allow unfree This enables building unfree packages directly from the flake without having to use `--impure`. --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 9eb095b..d37b16b 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,11 @@ }; } // flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; }; + pkgs = import nixpkgs { + inherit system; + overlays = [ self.overlay ]; + config.allowUnfree = true; + }; lib = pkgs.lib; in rec {