From 94c04950e14301a33a0a3abb9414e0f92d9895eb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 18 Feb 2020 10:20:59 +0100 Subject: Use nix-shell to run node2nix --- user/packages/node2nix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user') diff --git a/user/packages/node2nix/Makefile b/user/packages/node2nix/Makefile index a3ae0505..740012ed 100644 --- a/user/packages/node2nix/Makefile +++ b/user/packages/node2nix/Makefile @@ -1,5 +1,5 @@ default.nix: node-packages.json - node2nix --nodejs-12 --input $< + nix-shell -p nodePackages.node2nix --run "node2nix --nodejs-12 --input $<" install: default.nix nix-env -f default.nix -i -- cgit 1.4.1