summary refs log tree commit diff
path: root/pkgs/development/libraries/librsync
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 13:08:07 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 14:19:38 -0400
commit01b274ce0d9923eb960b1a55e13527545f381f41 (patch)
treee8c76cbf3da808e880cc94b579e743afc93def96 /pkgs/development/libraries/librsync
parent507a64cd8da1647cd801ab01e1b95b4d6b43842e (diff)
downloadnixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.tar
nixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.tar.gz
nixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.tar.bz2
nixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.tar.lz
nixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.tar.xz
nixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.tar.zst
nixpkgs-01b274ce0d9923eb960b1a55e13527545f381f41.zip
librsync: Remove crossAttrs
Diffstat (limited to 'pkgs/development/libraries/librsync')
-rw-r--r--pkgs/development/libraries/librsync/0.9.nix4
-rw-r--r--pkgs/development/libraries/librsync/default.nix4
2 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/libraries/librsync/0.9.nix b/pkgs/development/libraries/librsync/0.9.nix
index 0954694cf29..115f4cd90a0 100644
--- a/pkgs/development/libraries/librsync/0.9.nix
+++ b/pkgs/development/libraries/librsync/0.9.nix
@@ -12,9 +12,7 @@ stdenv.mkDerivation {
 
   configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
 
-  crossAttrs = {
-    dontStrip = true;
-  };
+  dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
 
   meta = {
     homepage = http://librsync.sourceforge.net/;
diff --git a/pkgs/development/libraries/librsync/default.nix b/pkgs/development/libraries/librsync/default.nix
index 80acaf57d62..afb83051b21 100644
--- a/pkgs/development/libraries/librsync/default.nix
+++ b/pkgs/development/libraries/librsync/default.nix
@@ -14,9 +14,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake ];
   buildInputs = [ perl zlib bzip2 popt ];
 
-  crossAttrs = {
-    dontStrip = true;
-  };
+  dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
 
   meta = with stdenv.lib; {
     homepage = http://librsync.sourceforge.net/;