pkgs/development: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-24 00:15:07 +07:00
parent ec334a1b01
commit 2f78ee7e81
121 changed files with 324 additions and 322 deletions

View File

@@ -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:

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}