diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-23 17:45:27 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-30 10:09:31 -0400 |
commit | 95c8277701fb746ad4d91841de494ee869886991 (patch) | |
tree | 120ec8dad2d1a6d1c678f3d51778328f5ad2a110 /pkgs/tools/text/gnupatch | |
parent | d61c22341b00171b53697164cb8241184979d14c (diff) | |
download | nixlib-95c8277701fb746ad4d91841de494ee869886991.tar nixlib-95c8277701fb746ad4d91841de494ee869886991.tar.gz nixlib-95c8277701fb746ad4d91841de494ee869886991.tar.bz2 nixlib-95c8277701fb746ad4d91841de494ee869886991.tar.lz nixlib-95c8277701fb746ad4d91841de494ee869886991.tar.xz nixlib-95c8277701fb746ad4d91841de494ee869886991.tar.zst nixlib-95c8277701fb746ad4d91841de494ee869886991.zip |
misc pkgs: Remove unneeded *Platform == *Platform comparisons
PR #26007 used these to avoid causing a mass rebuild. Now that we know things work, we do that to clean up.
Diffstat (limited to 'pkgs/tools/text/gnupatch')
-rw-r--r-- | pkgs/tools/text/gnupatch/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index 57543eb303b0..13579b57e796 100644 --- a/pkgs/tools/text/gnupatch/default.nix +++ b/pkgs/tools/text/gnupatch/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { buildInputs = stdenv.lib.optional doCheck ed; - configureFlags = if hostPlatform == buildPlatform then null else [ + configureFlags = stdenv.lib.optionals (hostPlatform != buildPlatform) [ "ac_cv_func_strnlen_working=yes" ]; |