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 00000000..d829eeb5
--- /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