mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
aad577bd30
Versioned package attributes are usually named like $pname_$version eg: nodejs-14_x -> nodejs_14
18 lines
518 B
Nix
18 lines
518 B
Nix
# This file has been generated by node2nix 1.11.1. Do not edit!
|
|
|
|
{pkgs ? import <nixpkgs> {
|
|
inherit system;
|
|
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_18"}:
|
|
|
|
let
|
|
nodeEnv = import ./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;
|
|
}
|