pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 20:30:03 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{ elk6Version
, enableUnfree ? true
, stdenv
, lib, stdenv
, makeWrapper
, fetchurl
, nodejs-10_x
@@ -8,7 +8,7 @@
, which
}:
with stdenv.lib;
with lib;
let
nodejs = nodejs-10_x;
inherit (builtins) elemAt;
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
mv * $out/libexec/kibana/
rm -r $out/libexec/kibana/node
makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
--prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
--prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}"
sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
'';
+3 -3
View File
@@ -1,6 +1,6 @@
{ elk7Version
, enableUnfree ? true
, stdenv
, lib, stdenv
, makeWrapper
, fetchurl
, nodejs-10_x
@@ -8,7 +8,7 @@
, which
}:
with stdenv.lib;
with lib;
let
nodejs = nodejs-10_x;
inherit (builtins) elemAt;
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
mv * $out/libexec/kibana/
rm -r $out/libexec/kibana/node
makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
--prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
--prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}"
sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
'';