forked from mirrors/nixpkgs
dbf3d31727
make perl be less dumb revert change to release.nix
18 lines
298 B
Nix
18 lines
298 B
Nix
{ stdenv }:
|
|
|
|
assert stdenv.isDarwin;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libunwind-native";
|
|
|
|
unpackPhase = ":";
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib
|
|
cat /usr/lib/system/libunwind.dylib > $out/lib/libunwind.dylib
|
|
'';
|
|
|
|
meta.platforms = stdenv.lib.platforms.darwin;
|
|
}
|