diff options
author | Alan Pearce | 2018-03-21 16:37:41 +0100 |
---|---|---|
committer | Alan Pearce | 2018-03-21 16:37:41 +0100 |
commit | 40d896c668b85ee6c25730daeabd760253254ad1 (patch) | |
tree | 814383fb849a837dfab7730e8c9cbf343f1b250d /nix/.config/nixpkgs/overlays/node-packages/composition.nix | |
parent | f692f481647054d28735c4e8222f5ef7db1d8751 (diff) | |
download | nixfiles-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.nix | 16 |
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 |