diff options
author | volth <volth@volth.com> | 2018-11-11 06:57:28 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-11-11 06:58:15 +0000 |
commit | 9d164580ba468efb1ec1b892ee5fc49109c33112 (patch) | |
tree | 361276f6e5d25a41d086984b7bf00ffb96bff960 /pkgs/tools/text/gnused | |
parent | 0ae3b49bb4222d52c34722a5b35ce30e0309bef4 (diff) |
gnused: fix Windows build
Diffstat (limited to 'pkgs/tools/text/gnused')
-rw-r--r-- | pkgs/tools/text/gnused/422.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/text/gnused/default.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnused/422.nix b/pkgs/tools/text/gnused/422.nix index 037c2f17a63b..16d4f20fe8e7 100644 --- a/pkgs/tools/text/gnused/422.nix +++ b/pkgs/tools/text/gnused/422.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation { sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7"; }; + configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMinGW "ac_cv_func__set_invalid_parameter_handler=no"; + outputs = [ "out" "info" ]; meta = { diff --git a/pkgs/tools/text/gnused/default.nix b/pkgs/tools/text/gnused/default.nix index af3db54e96d5..4bdddb8c50b7 100644 --- a/pkgs/tools/text/gnused/default.nix +++ b/pkgs/tools/text/gnused/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl3Plus; - platforms = stdenv.lib.platforms.all; + platforms = stdenv.lib.platforms.unix; maintainers = [ ]; }; } |