mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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.
This commit is contained in:
parent
bb7067f882
commit
fc42ec0a5c
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv, callPackage }:
|
{ stdenv, callPackage, windows }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit (callPackage ./common.nix {}) name src;
|
inherit (callPackage ./common.nix {}) name src;
|
||||||
|
buildInputs = [ windows.mingw_w64_headers ];
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue