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) | |
download | nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.tar nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.tar.gz nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.tar.bz2 nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.tar.lz nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.tar.xz nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.tar.zst nixlib-01b274ce0d9923eb960b1a55e13527545f381f41.zip |
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 0954694cf290..115f4cd90a0c 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 80acaf57d625..afb83051b211 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/; |