mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
treewide: Mass replace 'binutils}/lib' to refer the 'out' output
This commit is contained in:
parent
f412f5f3ee
commit
c2ceed1ad1
3 changed files with 3 additions and 3 deletions
|
@ -213,7 +213,7 @@ rec {
|
|||
for i in as ld ar ranlib nm strip readelf objdump; do
|
||||
cp ${binutils}/bin/$i $out/bin
|
||||
done
|
||||
cp -d ${binutils}/lib/lib*.so* $out/lib
|
||||
cp -d ${binutils.out}/lib/lib*.so* $out/lib
|
||||
|
||||
chmod -R u+w $out
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ rec {
|
|||
for i in as ld ar ranlib nm strip readelf objdump; do
|
||||
cp ${binutils}/bin/$i $out/bin
|
||||
done
|
||||
cp -d ${binutils}/lib/lib*.so* $out/lib
|
||||
cp -d ${binutils.out}/lib/lib*.so* $out/lib
|
||||
|
||||
chmod -R u+w $out
|
||||
|
||||
|
|
|
@ -15067,7 +15067,7 @@ in modules // {
|
|||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"/usr/include"' '"${pkgs.gdb}/include"' \
|
||||
--replace '"/usr/lib"' '"${pkgs.binutils}/lib"'
|
||||
--replace '"/usr/lib"' '"${pkgs.binutils.out}/lib"'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue