stop copying everything into the store
This commit is contained in:
parent
afa1db198b
commit
25b395bc8d
1 changed files with 0 additions and 10 deletions
|
@ -6,19 +6,9 @@ stdenv.mkDerivation {
|
||||||
unpackPhase = ":";
|
unpackPhase = ":";
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
# TODO: figure out if these are different in Mavericks + older
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
cat ${/usr/lib/system/libunwind.dylib} > $out/lib/libunwind.dylib
|
cat ${/usr/lib/system/libunwind.dylib} > $out/lib/libunwind.dylib
|
||||||
/usr/bin/install_name_tool \
|
|
||||||
-change /usr/lib/system/libunwind.dylib ${/usr/lib/system/libunwind.dylib} \
|
|
||||||
-change /usr/lib/system/libsystem_malloc.dylib ${/usr/lib/system/libsystem_malloc.dylib} \
|
|
||||||
-change /usr/lib/system/libsystem_pthread.dylib ${/usr/lib/system/libsystem_pthread.dylib} \
|
|
||||||
-change /usr/lib/system/libsystem_platform.dylib ${/usr/lib/system/libsystem_platform.dylib} \
|
|
||||||
-change /usr/lib/system/libsystem_c.dylib ${/usr/lib/system/libsystem_c.dylib} \
|
|
||||||
-change /usr/lib/system/libdyld.dylib ${/usr/lib/system/libdyld.dylib} \
|
|
||||||
-change /usr/lib/system/libkeymgr.dylib ${/usr/lib/system/libkeymgr.dylib} \
|
|
||||||
$out/lib/libunwind.dylib
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.platforms = stdenv.lib.platforms.darwin;
|
meta.platforms = stdenv.lib.platforms.darwin;
|
||||||
|
|
Loading…
Reference in a new issue