summary refs log tree commit diff stats
path: root/user/packages/node2nix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'user/packages/node2nix/Makefile')
-rw-r--r--user/packages/node2nix/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/packages/node2nix/Makefile b/user/packages/node2nix/Makefile
new file mode 100644
index 00000000..d829eeb5
--- /dev/null
+++ b/user/packages/node2nix/Makefile
@@ -0,0 +1,5 @@
+default.nix: node-packages.json
+	node2nix --nodejs-10 --input $<
+
+install: default.nix
+	nix-env -f default.nix -i