From fc42ec0a5cf9962a6af9c2da39ff748b30299b67 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 19 Jun 2017 15:30:17 -0400 Subject: mingw-w64: Depend on own headers derivation Without this, a `#include ` 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. --- pkgs/os-specific/windows/mingw-w64/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/os-specific/windows/mingw-w64/default.nix') diff --git a/pkgs/os-specific/windows/mingw-w64/default.nix b/pkgs/os-specific/windows/mingw-w64/default.nix index 697e035318220..6e21826381b6d 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; } -- cgit 1.4.1