summary refs log tree commit diff stats
path: root/nix/.config/nixpkgs/overlays/node-packages/composition.nix
diff options
context:
space:
mode:
authorAlan Pearce2018-03-21 16:37:41 +0100
committerAlan Pearce2018-03-21 16:37:41 +0100
commit40d896c668b85ee6c25730daeabd760253254ad1 (patch)
tree814383fb849a837dfab7730e8c9cbf343f1b250d /nix/.config/nixpkgs/overlays/node-packages/composition.nix
parentf692f481647054d28735c4e8222f5ef7db1d8751 (diff)
downloadnixfiles-40d896c668b85ee6c25730daeabd760253254ad1.tar.lz
nixfiles-40d896c668b85ee6c25730daeabd760253254ad1.tar.zst
nixfiles-40d896c668b85ee6c25730daeabd760253254ad1.zip
Create overlay of custom node packages
Diffstat (limited to 'nix/.config/nixpkgs/overlays/node-packages/composition.nix')
-rw-r--r--nix/.config/nixpkgs/overlays/node-packages/composition.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/.config/nixpkgs/overlays/node-packages/composition.nix b/nix/.config/nixpkgs/overlays/node-packages/composition.nix
new file mode 100644
index 00000000..15b445fb
--- /dev/null
+++ b/nix/.config/nixpkgs/overlays/node-packages/composition.nix
@@ -0,0 +1,16 @@
+# This file has been generated by node2nix 1.5.1. Do not edit!
+
+{pkgs ? import <nixpkgs> {
+    inherit system;
+  }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
+
+let
+  nodeEnv = import ./node-env.nix {
+    inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
+    inherit nodejs;
+  };
+in
+import ./node-packages.nix {
+  inherit (pkgs) fetchurl fetchgit;
+  inherit nodeEnv;
+}
\ No newline at end of file