mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
treewide: Mass replace 'binutils}/bin' to refer to the correct outputs
This commit is contained in:
parent
f34655e28c
commit
794f07d4e4
@ -123,7 +123,7 @@ with stdenv.lib; stdenv.mkDerivation {
|
||||
configureFlags = configureFlags
|
||||
++ [ "--enable-local-rust" "--local-rust-root=$snapshot" "--enable-rpath" ]
|
||||
# ++ [ "--jemalloc-root=${jemalloc}/lib"
|
||||
++ [ "--default-linker=${stdenv.cc}/bin/cc" "--default-ar=${binutils}/bin/ar" ]
|
||||
++ [ "--default-linker=${stdenv.cc}/bin/cc" "--default-ar=${binutils.out}/bin/ar" ]
|
||||
++ optional (stdenv.cc.cc ? isClang) "--enable-clang"
|
||||
++ optional (!forceBundledLLVM) "--llvm-root=${llvmShared}";
|
||||
|
||||
|
@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $out/bin/checksec --replace find ${findutils}/bin/find
|
||||
substituteInPlace $out/bin/checksec --replace "file $" "${file}/bin/file $"
|
||||
substituteInPlace $out/bin/checksec --replace "xargs file" "xargs ${file}/bin/file"
|
||||
substituteInPlace $out/bin/checksec --replace " readelf -" " ${binutils}/bin/readelf -"
|
||||
substituteInPlace $out/bin/checksec --replace "(readelf -" "(${binutils}/bin/readelf -"
|
||||
substituteInPlace $out/bin/checksec --replace "command_exists readelf" "command_exists ${binutils}/bin/readelf"
|
||||
substituteInPlace $out/bin/checksec --replace " readelf -" " ${binutils.out}/bin/readelf -"
|
||||
substituteInPlace $out/bin/checksec --replace "(readelf -" "(${binutils.out}/bin/readelf -"
|
||||
substituteInPlace $out/bin/checksec --replace "command_exists readelf" "command_exists ${binutils.out}/bin/readelf"
|
||||
substituteInPlace $out/bin/checksec --replace "/sbin/sysctl -" "${procps}/sbin/sysctl -"
|
||||
substituteInPlace $out/bin/checksec --replace "/usr/bin/id -" "${coreutils}/bin/id -"
|
||||
'';
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
"FLEX=${flex}/bin/flex"
|
||||
"BISON=${bison}/bin/bison"
|
||||
"FIND=${findutils}/bin/find"
|
||||
"STRIP=${binutils}/bin/strip"
|
||||
"STRIP=${binutils.out}/bin/strip"
|
||||
"INSTALL=${coreutils}/bin/install"
|
||||
"MANDIR=/share/man"
|
||||
"MKNOD=true"
|
||||
|
Loading…
Reference in New Issue
Block a user