all repos — archive/nixos-configuration @ 9e5f4ef842477090d789b8cd22028b1154a31985

Superseded by nixfiles

Import javascript CLI tools via node2nix

Alan Pearce
commit

9e5f4ef842477090d789b8cd22028b1154a31985

parent

c0287ca3a1e7168f016673c51668c1e764a0723b

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

changed files
A packages/node2nix/default.nix
@@ -0,0 +1,17 @@
+# This file has been generated by node2nix 1.7.0. Do not edit! + +{pkgs ? import <nixpkgs> { + inherit system; + }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}: + +let + nodeEnv = import ./node-env.nix { + inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; + inherit nodejs; + libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; + }; +in +import ./node-packages.nix { + inherit (pkgs) fetchurl fetchgit; + inherit nodeEnv; +}