diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-03 12:52:40 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-03 17:06:03 -0400 |
commit | f0d6b385d12600ab307ab205c166c993d3588087 (patch) | |
tree | fc915e69eb5a80b27e17214d285110283fcccf18 /pkgs/development/libraries/librsync | |
parent | f92ed87372042fa2ee4c2048ae47c511c9285a1b (diff) |
treewide: Make all the rest of configureFlags
Diffstat (limited to 'pkgs/development/libraries/librsync')
-rw-r--r-- | pkgs/development/libraries/librsync/0.9.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/librsync/0.9.nix b/pkgs/development/libraries/librsync/0.9.nix index 115f4cd90a0c9..3ca84ed2ce5fe 100644 --- a/pkgs/development/libraries/librsync/0.9.nix +++ b/pkgs/development/libraries/librsync/0.9.nix @@ -10,7 +10,10 @@ stdenv.mkDerivation { hardeningDisable = [ "format" ]; - configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared"; + configureFlags = [ + (stdenv.lib.enableFeature stdenv.isCygwin "static") + (stdenv.lib.enableFeature (!stdenv.isCygwin) "shared") + ]; dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; |