pkgs/os-specific: stdenv.lib -> lib
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user