diff --git a/pkgs/stdenv/mingw/default.nix b/pkgs/stdenv/mingw/default.nix index 1813c4feb76c..ae06ef133b44 100644 --- a/pkgs/stdenv/mingw/default.nix +++ b/pkgs/stdenv/mingw/default.nix @@ -98,13 +98,12 @@ let { if attrs ? args then attrs.args else - ["-e" ( + ["-e"] ++ ( if attrs ? builder then [./fix-builder.sh attrs.builder] else [./fix-builder.sh ./default-builder.sh] - ) - ]; + ); inherit stdenv system; C_INCLUDE_PATH = mingwRuntimeSrc + "/include" + ":" + w32apiSrc + "/include"; CPLUS_INCLUDE_PATH = mingwRuntimeSrc + "/include" + ":" + w32apiSrc + "/include";