Skip to content

Commit

Permalink
mingw-w64: Depend on own headers derivation
Browse files Browse the repository at this point in the history
Without this, a `#include <float.h>` resolves incorrectly. Either the
headers weren't on the include path at all, or they only were for
local, not system, imports.

What's weird is this used to not be a problem. Not sure what other
change in e.g. cc-wrapper would affect this.
  • Loading branch information
Ericson2314 committed Jun 20, 2017
1 parent f36926f commit f00477a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/os-specific/windows/mingw-w64/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, callPackage }:
{ stdenv, callPackage, windows }:

stdenv.mkDerivation {
inherit (callPackage ./common.nix {}) name src;
buildInputs = [ windows.mingw_w64_headers ];
dontStrip = true;
}

0 comments on commit f00477a

Please sign in to comment.