summary refs log tree commit diff
path: root/pkgs/development/libraries/libunwind
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2012-04-12 06:18:42 +0000
committerMichael Raskin <7c6f434c@mail.ru>2012-04-12 06:18:42 +0000
commit674de696b5b4ea2e561b26a20881e42218d9c906 (patch)
tree485d239a0a214ee701fc4ea6d2dec562fce68ee0 /pkgs/development/libraries/libunwind
parent65d9b6076de000a1c02147a72158ea12838cdfc7 (diff)
downloadnixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.tar
nixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.tar.gz
nixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.tar.bz2
nixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.tar.lz
nixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.tar.xz
nixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.tar.zst
nixpkgs-674de696b5b4ea2e561b26a20881e42218d9c906.zip
Take into account an installation process quirk
svn path=/nixpkgs/trunk/; revision=33752
Diffstat (limited to 'pkgs/development/libraries/libunwind')
-rw-r--r--pkgs/development/libraries/libunwind/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libunwind/default.nix b/pkgs/development/libraries/libunwind/default.nix
index 5bfd76f919b..49e23017369 100644
--- a/pkgs/development/libraries/libunwind/default.nix
+++ b/pkgs/development/libraries/libunwind/default.nix
@@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
   };
   
   NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
+  preInstall = ''
+    mkdir -p "$out/lib"
+    touch "$out/lib/libunwind-generic.so"
+  '';
   
   meta = {
     homepage = http://www.nongnu.org/libunwind;