forked from mirrors/nixpkgs
darwin-bintuils: Don't try to bring in missing bits of GNU Binutils
libbfd and libopcdes are separate derivations which now provide all headers and libraries. Binutils should just provide executables.
This commit is contained in:
parent
6a5cda5131
commit
32a6838bc6
|
@ -37,17 +37,12 @@ stdenv.mkDerivation {
|
||||||
ln -sf "${cctools}/bin/$i" "$out/bin/$i"
|
ln -sf "${cctools}/bin/$i" "$out/bin/$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in ${stdenv.lib.getDev binutils-raw}/include/*.h; do
|
|
||||||
ln -s "$i" "$out/include/$(basename $i)"
|
|
||||||
done
|
|
||||||
|
|
||||||
for i in ${cctools}/include/*; do
|
for i in ${cctools}/include/*; do
|
||||||
ln -s "$i" "$out/include/$(basename $i)"
|
ln -s "$i" "$out/include/$(basename $i)"
|
||||||
done
|
done
|
||||||
|
|
||||||
# FIXME: this will give us incorrect man pages for bits of cctools
|
# FIXME: this will give us incorrect man pages for bits of cctools
|
||||||
ln -s ${binutils-raw.out}/share $out/share
|
ln -s ${binutils-raw.out}/share $out/share
|
||||||
ln -s ${binutils-raw.out}/lib $out/lib
|
|
||||||
|
|
||||||
ln -s ${cctools}/libexec $out/libexec
|
ln -s ${cctools}/libexec $out/libexec
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue