summary refs log tree commit diff
path: root/pkgs/os-specific/windows
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-06-19 15:30:17 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-22 17:53:51 -0400
commitfc42ec0a5cf9962a6af9c2da39ff748b30299b67 (patch)
tree7e554cb0c7098693f1d266f5b60d9f0fb805785c /pkgs/os-specific/windows
parentbb7067f882bf3c53ea68780a8ec0a7117f563253 (diff)
downloadnixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.tar
nixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.tar.gz
nixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.tar.bz2
nixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.tar.lz
nixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.tar.xz
nixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.tar.zst
nixlib-fc42ec0a5cf9962a6af9c2da39ff748b30299b67.zip
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.
Diffstat (limited to 'pkgs/os-specific/windows')
-rw-r--r--pkgs/os-specific/windows/mingw-w64/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/windows/mingw-w64/default.nix b/pkgs/os-specific/windows/mingw-w64/default.nix
index 697e03531822..6e21826381b6 100644
--- a/pkgs/os-specific/windows/mingw-w64/default.nix
+++ b/pkgs/os-specific/windows/mingw-w64/default.nix
@@ -1,6 +1,7 @@
-{ stdenv, callPackage }:
+{ stdenv, callPackage, windows }:
 
 stdenv.mkDerivation {
   inherit (callPackage ./common.nix {}) name src;
+  buildInputs = [ windows.mingw_w64_headers ];
   dontStrip = true;
 }