From 799f4444778dc804f950e9559c46144bd7f7f0be Mon Sep 17 00:00:00 2001 From: Joel Taylor Date: Thu, 21 Aug 2014 16:50:34 -0700 Subject: [PATCH] libunwindNative for darwin only --- pkgs/development/libraries/libunwind/native.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libunwind/native.nix b/pkgs/development/libraries/libunwind/native.nix index dd2ebb6a642..10e552a2810 100644 --- a/pkgs/development/libraries/libunwind/native.nix +++ b/pkgs/development/libraries/libunwind/native.nix @@ -6,6 +6,7 @@ stdenv.mkDerivation { unpackPhase = ":"; dontBuild = true; + # TODO: figure out if these are different in Mavericks + older installPhase = '' mkdir -p $out/lib cat ${/usr/lib/system/libunwind.dylib} > $out/lib/libunwind.dylib @@ -19,4 +20,6 @@ stdenv.mkDerivation { -change /usr/lib/system/libkeymgr.dylib ${/usr/lib/system/libkeymgr.dylib} \ $out/lib/libunwind.dylib ''; + + meta.platforms = stdenv.lib.platforms.darwin; }