741bf840da
This reverts commit f61176c5396ed513f3d399f73f38ab78a066667f, reversing changes made to a27ca029ee2b39e04d7d2a516a7228f4b62067fb. Conflicts: pkgs/development/libraries/ncurses/default.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;
|
|
}
|