pkgs/development: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, openssl, python, zlib, libuv, util-linux, http-parser
|
||||
{ lib, stdenv, fetchurl, openssl, python, zlib, libuv, util-linux, http-parser
|
||||
, pkg-config, which
|
||||
# Updater dependencies
|
||||
, writeScript, coreutils, gnugrep, jq, curl, common-updater-scripts, nix, runtimeShell
|
||||
@@ -7,7 +7,7 @@
|
||||
, procps, icu
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
{ enableNpm ? true, version, sha256, patches ? [] } @args:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ callPackage, openssl, icu, python2, stdenv, enableNpm ? true }:
|
||||
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
@@ -10,5 +10,5 @@ in
|
||||
inherit enableNpm;
|
||||
version = "10.23.1";
|
||||
sha256 = "1ypddif8jc8qrw9n1f8zbpknjcbnjc9xhpm57hc5nqbrmzsidal8";
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ callPackage, openssl, icu, python2, stdenv, enableNpm ? true }:
|
||||
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
@@ -10,5 +10,5 @@ in
|
||||
inherit enableNpm;
|
||||
version = "12.20.1";
|
||||
sha256 = "0lqq6a2byw4qmig98j45gqnl0593xdhx1dr9k7x2nnvhblrfw3p0";
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ callPackage, openssl, python3, stdenv, enableNpm ? true }:
|
||||
{ callPackage, openssl, python3, lib, stdenv, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
@@ -10,5 +10,5 @@ in
|
||||
inherit enableNpm;
|
||||
version = "14.15.4";
|
||||
sha256 = "177cxp4fhmglyx035j8smiy1bp5fz6q2phlcl0a2mdbldkvfrdxd";
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user