forked from mirrors/nixpkgs
native-darwin-cctools-wrapper: kill it
Nothing uses it anymore
This commit is contained in:
parent
52f2d9ffc8
commit
e81ae8e5a0
|
@ -1,16 +0,0 @@
|
||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
mkdir -p $out/bin
|
|
||||||
for i in $binaries
|
|
||||||
do
|
|
||||||
ln -s "/usr/bin/$i" "$out/bin/"
|
|
||||||
done
|
|
||||||
|
|
||||||
# MIG assumes the standard Darwin core utilities (e.g., `rm -d'), so
|
|
||||||
# let it see the impure directories.
|
|
||||||
cat > "$out/bin/mig" <<EOF
|
|
||||||
#!/bin/sh
|
|
||||||
export PATH="/usr/bin:/bin:\$PATH"
|
|
||||||
exec /usr/bin/mig "\$@"
|
|
||||||
EOF
|
|
||||||
chmod +x "$out/bin/mig"
|
|
|
@ -1,15 +0,0 @@
|
||||||
{stdenv}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "native-darwin-cctools-wrapper";
|
|
||||||
|
|
||||||
# Standard binaries normally found under /usr/bin (MIG is omitted here, and
|
|
||||||
# handled specially in ./builder.sh).
|
|
||||||
binaries =
|
|
||||||
[ "ar" "as" "c++filt" "gprof" "ld" "nm" "nmedit" "ranlib"
|
|
||||||
"size" "strings" "strip" "dsymutil" "libtool" "lipo"
|
|
||||||
"install_name_tool" "arch" "sw_vers"
|
|
||||||
];
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
|
||||||
}
|
|
Loading…
Reference in a new issue