3
0
Fork 0
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:
John Ericson 2017-11-16 17:40:38 -05:00
parent 6a5cda5131
commit 32a6838bc6

View file

@ -37,17 +37,12 @@ stdenv.mkDerivation {
ln -sf "${cctools}/bin/$i" "$out/bin/$i"
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
ln -s "$i" "$out/include/$(basename $i)"
done
# 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}/lib $out/lib
ln -s ${cctools}/libexec $out/libexec
'';