3
0
Fork 0
forked from mirrors/nixpkgs

native-darwin-cctools-wrapper: kill it

Nothing uses it anymore
This commit is contained in:
Dan Peebles 2016-01-03 20:28:34 -05:00
parent 52f2d9ffc8
commit e81ae8e5a0
2 changed files with 0 additions and 31 deletions

View file

@ -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"

View file

@ -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;
}