summary refs log tree commit diff stats
path: root/user/packages/node2nix/Makefile
diff options
context:
space:
mode:
authorAlan Pearce2019-10-04 16:32:12 +0200
committerAlan Pearce2019-10-04 16:32:12 +0200
commit9dad0ca18a9b689a0e119b33e18fd5bf195c7071 (patch)
treebf376f6dfa5acc806225ff9950506685c5de4d67 /user/packages/node2nix/Makefile
parent40aab9ce6874a9d60319058c24b475ff67adf88e (diff)
downloadnixfiles-9dad0ca18a9b689a0e119b33e18fd5bf195c7071.tar.lz
nixfiles-9dad0ca18a9b689a0e119b33e18fd5bf195c7071.tar.zst
nixfiles-9dad0ca18a9b689a0e119b33e18fd5bf195c7071.zip
Move javascript package setup to home-manager
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