diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-10 13:08:07 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-10 14:19:38 -0400 |
commit | 01b274ce0d9923eb960b1a55e13527545f381f41 (patch) | |
tree | e8c76cbf3da808e880cc94b579e743afc93def96 /pkgs/development/libraries/librsync | |
parent | 507a64cd8da1647cd801ab01e1b95b4d6b43842e (diff) |
librsync: Remove crossAttrs
Diffstat (limited to 'pkgs/development/libraries/librsync')
-rw-r--r-- | pkgs/development/libraries/librsync/0.9.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/librsync/default.nix | 4 |
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 0954694cf290f..115f4cd90a0c9 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 80acaf57d6252..afb83051b211d 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/; |