mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
741bf840da
This reverts commitf61176c539
, reversing changes made toa27ca029ee
. 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;
|
|
}
|