summary refs log tree commit diff
path: root/pkgs/development/libraries/zlib/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-09 23:11:12 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-09 23:11:12 +0000
commit12e960f592f8cfa1faadc05cb0111bfd59a0eb7a (patch)
tree4686bc4517e6441e796c136ff11de740b5c94dd1 /pkgs/development/libraries/zlib/default.nix
parentdbf2a748298adad25c6befd5109b463a22dab957 (diff)
downloadnixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.tar
nixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.tar.gz
nixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.tar.bz2
nixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.tar.lz
nixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.tar.xz
nixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.tar.zst
nixpkgs-12e960f592f8cfa1faadc05cb0111bfd59a0eb7a.zip
Adding dropbear, a small implementation of ssh2 client and server.
I made it statically build by default

I had to fix the zlib static cross-build, because the native stripping corrupted the target
static library. It is not the first time I see this.

I add drobear to the cross-built packages for hydra.


svn path=/nixpkgs/trunk/; revision=20518
Diffstat (limited to 'pkgs/development/libraries/zlib/default.nix')
-rw-r--r--pkgs/development/libraries/zlib/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix
index b4ae9e63ea0..95c891e9bc7 100644
--- a/pkgs/development/libraries/zlib/default.nix
+++ b/pkgs/development/libraries/zlib/default.nix
@@ -15,6 +15,10 @@ stdenv.mkDerivation {
     fi
   '';
 
+  crossAttrs = {
+    dontStrip = if static then true else false;
+  };
+
   # zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
   cygwinConfigureEnableShared = true;
 }