73d2fbb448
Avoid adding flake resource paths to the store (via string interpolation). This reduces performance and can lead to modules getting imported twice, once through a local path and once through a store path. This might not be needed in a future Nix release, in which case we can revert this.
18 lines
565 B
Nix
18 lines
565 B
Nix
# This file has been generated by node2nix 1.9.0. Do not edit!
|
|
|
|
{pkgs ? import <nixpkgs> {
|
|
inherit system;
|
|
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-14_x"}:
|
|
|
|
let
|
|
nodeEnv = import (pkgs.path + "/pkgs/development/node-packages/node-env.nix") {
|
|
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
|
|
inherit pkgs nodejs;
|
|
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
|
|
};
|
|
in
|
|
import ./node-packages.nix {
|
|
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit;
|
|
inherit nodeEnv;
|
|
}
|