pkgs/os-specific: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-17 23:26:08 +07:00
parent 979e6e67d3
commit 16d91ee628
212 changed files with 597 additions and 599 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, binutils-unwrapped, cctools, llvm }:
{ lib, stdenv, binutils-unwrapped, cctools, llvm }:
# Make sure both underlying packages claim to have prepended their binaries
# with the same targetPrefix.
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
# - strip: the binutils one seems to break mach-o files
# - lipo: gcc build assumes it exists
# - nm: the gnu one doesn't understand many new load commands
for i in ${stdenv.lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do
for i in ${lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do
ln -sf "${cctools}/bin/$i" "$out/bin/$i"
done
@@ -56,7 +56,7 @@ stdenv.mkDerivation {
};
meta = {
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
maintainers = with lib.maintainers; [ matthewbauer ];
priority = 10;
};
}