We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent defbe81 commit 0c51d98Copy full SHA for 0c51d98
compiler/ghc/default.nix
@@ -400,7 +400,7 @@ stdenv.mkDerivation (rec {
400
# windows gcc cross compiler has a full `windows.h`).
401
# This matches the way `suffixSalt` is calculated in nixpkgs.
402
# See https://github.com/NixOS/nixpkgs/blob/8411006d6bcd7f6e6a8a1a80ce8fcdccdd16c6ab/pkgs/build-support/cc-wrapper/default.nix#L58
403
- replaceStrings ["-" "."] ["_" "_"] stdenv.hostPlatform.config
+ lib.replaceStrings ["-" "."] ["_" "_"] stdenv.hostPlatform.config
404
}+=" -I${../windows/include}"
405
if [[ -f libraries/base/include/winio_structs.h ]]; then
406
substituteInPlace libraries/base/include/winio_structs.h --replace Windows.h windows.h
0 commit comments