From 9182927998549b01b9019a6f0bbb93005c8bc94b Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Wed, 20 Sep 2017 19:23:14 +0200 Subject: gengetopt: Fix the build Thanks @orivej for providing this fix. Fix #28255 (the build was broken since 2bc7b4e134079cf72307538e57b8968cfb27d70c). --- pkgs/development/tools/misc/gengetopt/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/misc/gengetopt/default.nix b/pkgs/development/tools/misc/gengetopt/default.nix index 19e934f884f7..304f16942eaf 100644 --- a/pkgs/development/tools/misc/gengetopt/default.nix +++ b/pkgs/development/tools/misc/gengetopt/default.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation rec { doCheck = true; + postPatch = '' + sed -e 's/set -o posix/set +o posix/' -i configure + ''; + meta = { description = "Command-line option parser generator"; -- cgit 1.4.1