From 2bf865307d4decd570cff2cec821ee3a79d31cc8 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Fri, 6 Mar 2020 14:57:26 +1000 Subject: [PATCH] Allowed unfree and added node env --- roles/nixpkgs-dev.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/nixpkgs-dev.nix b/roles/nixpkgs-dev.nix index c92937d..b2813a6 100644 --- a/roles/nixpkgs-dev.nix +++ b/roles/nixpkgs-dev.nix @@ -4,10 +4,17 @@ { + nixpkgs = { + config = { + allowUnfree = true; + }; + }; + environment = { systemPackages = with pkgs; [ nix-universal-prefetch # Uses nixpkgs fetchers to figure out hashes cabal2nix # Convert Cabal files into Nix build instructions + nodePackages.node2nix # Generate Nix expressions to build NPM packages ]; };