about summary refs log tree commit diff
path: root/pkgs/development/libraries/libunwind
diff options
context:
space:
mode:
authorEric Seidel <gridaphobe@gmail.com>2015-02-03 14:09:38 -0800
committerEric Seidel <gridaphobe@gmail.com>2015-02-03 14:31:04 -0800
commitdbf3d3172760b0f61569026d47f0fd3a9c814cfa (patch)
tree1559638c661d4222f885c4d1c1f2754c548ec613 /pkgs/development/libraries/libunwind
parentebb8d03f96e3f1bf8491a3f74540d2cbb47da294 (diff)
downloadnixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.tar
nixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.tar.gz
nixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.tar.bz2
nixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.tar.lz
nixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.tar.xz
nixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.tar.zst
nixlib-dbf3d3172760b0f61569026d47f0fd3a9c814cfa.zip
make llvm-3.5 the default and remove references to gccApple
make perl be less dumb

revert change to release.nix
Diffstat (limited to 'pkgs/development/libraries/libunwind')
-rw-r--r--pkgs/development/libraries/libunwind/native.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libunwind/native.nix b/pkgs/development/libraries/libunwind/native.nix
new file mode 100644
index 000000000000..6ce485ecaec0
--- /dev/null
+++ b/pkgs/development/libraries/libunwind/native.nix
@@ -0,0 +1,17 @@
+{ 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;
+}