all repos — archive/dotfiles @ 40d896c668b85ee6c25730daeabd760253254ad1

Superseded by nixfiles

Create overlay of custom node packages

Alan Pearce
commit

40d896c668b85ee6c25730daeabd760253254ad1

parent

f692f481647054d28735c4e8222f5ef7db1d8751

1 file changed, 16 insertions(+), 0 deletions(-)

changed files
A 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; +}