git.iko.soy/typeable/nixpkgs
on master help sign in
mingw-w64: Depend on own headers derivation

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.

commitfc42ec0a5cf9962a6af9c2da39ff748b30299b67 authorJohn Ericson <Ericson2314@Yahoo.com> dateMon 19 Jun 2017, 15:30 (9 years ago) parentbb7067f
1 file changed+2−1
pkgs/os-specific/windows/mingw-w64/default.nix+2−1
pkgs/os-specific/windows/mingw-w64/default.nix+2−1
@@ -1,6 +1,7 @@
1−{ stdenv, callPackage }:
1+{ stdenv, callPackage, windows }:
22
33stdenv.mkDerivation {
44 inherit (callPackage ./common.nix {}) name src;
5+ buildInputs = [ windows.mingw_w64_headers ];
56 dontStrip = true;
67}