summary refs log tree commit diff stats
path: root/packages/node2nix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/node2nix/Makefile')
-rw-r--r--packages/node2nix/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/node2nix/Makefile b/packages/node2nix/Makefile
new file mode 100644
index 0000000..d829eeb
--- /dev/null
+++ b/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