Skip to content

Commit 0c51d98

Browse files
committed
Fix suffixSalt calculation
1 parent defbe81 commit 0c51d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/ghc/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ stdenv.mkDerivation (rec {
400400
# windows gcc cross compiler has a full `windows.h`).
401401
# This matches the way `suffixSalt` is calculated in nixpkgs.
402402
# See https://github.com/NixOS/nixpkgs/blob/8411006d6bcd7f6e6a8a1a80ce8fcdccdd16c6ab/pkgs/build-support/cc-wrapper/default.nix#L58
403-
replaceStrings ["-" "."] ["_" "_"] stdenv.hostPlatform.config
403+
lib.replaceStrings ["-" "."] ["_" "_"] stdenv.hostPlatform.config
404404
}+=" -I${../windows/include}"
405405
if [[ -f libraries/base/include/winio_structs.h ]]; then
406406
substituteInPlace libraries/base/include/winio_structs.h --replace Windows.h windows.h

0 commit comments

Comments
 (0)