Skip to content

Commit ce518e6

Browse files
committed
Merge remote-tracking branch 'origin/master' into hkm/embed-file
2 parents 22026fd + 34984e0 commit ce518e6

File tree

4 files changed

+12
-24
lines changed

4 files changed

+12
-24
lines changed

Diff for: ci.nix

+3-7
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@
5656
# cabal-install and nix-tools plans. When removing a ghc version
5757
# from here (so that is no longer cached) also remove ./materialized/ghcXXX.
5858
# Update supported-ghc-versions.md to reflect any changes made here.
59-
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2305") {
60-
ghc810 = false;
61-
ghc90 = false;
62-
ghc92 = false;
63-
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2311") {
59+
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2311") {
6460
ghc94 = false;
6561
ghc96 = false;
6662
ghc98 = false;
@@ -88,8 +84,8 @@
8884
|| (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
8985
)) {
9086
inherit (lib.systems.examples) ghcjs;
91-
} // lib.optionalAttrs (nixpkgsName != "unstable"
92-
&& (__match ".*llvm" compiler-nix-name == null)
87+
} // lib.optionalAttrs (
88+
(__match ".*llvm" compiler-nix-name == null)
9389
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884"])
9490
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
9591
inherit (lib.systems.examples) mingwW64;

Diff for: flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: overlays/ghc-packages.nix

-9
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ let
6363
# The packages in GHC source and the locations of them
6464
ghc-extra-pkgs = ghcVersion: {
6565
base = "libraries/base";
66-
bytestring = "libraries/bytestring";
6766
ghci = "libraries/ghci";
6867
ghc-heap = "libraries/ghc-heap";
6968
ghc-prim = "libraries/ghc-prim";
@@ -79,9 +78,6 @@ let
7978
} // (
8079
if builtins.compareVersions ghcVersion "9.4" < 0
8180
then {
82-
# The version of `Win32` that comes with ghc 9.4 (2.12.0.0) is older
83-
# than the one in hackage. Including it causes `cabal configure` to fail.
84-
Win32 = "libraries/Win32";
8581
# As of GHC 9.4 this has been split out of the GHC repo and
8682
# is now in the iserv-proxy flake input
8783
iserv-proxy = "utils/iserv-proxy";
@@ -95,11 +91,6 @@ let
9591
remote-iserv = "utils/remote-iserv";
9692
} // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.0.1" >= 0) {
9793
ghc-bignum = "libraries/ghc-bignum";
98-
} // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.2.1" >= 0) {
99-
deepseq = "libraries/deepseq";
100-
pretty = "libraries/pretty";
101-
} // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.8" >= 0) {
102-
parsec = "libraries/parsec";
10394
} // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.9" >= 0) {
10495
ghc-platform = "libraries/ghc-platform";
10596
ghc-internal = "libraries/ghc-internal";

Diff for: overlays/mingw_w64.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ let
2020
if enableProfiling
2121
then iserv-proxy-interpreter.override { inherit enableProfiling; }
2222
else iserv-proxy-interpreter;
23+
no-load-call = lib.optionalString (interpreter.exeName != "remote-iserv.exe") "--no-load-call";
2324
in
2425
writeShellScriptBin ("iserv-wrapper" + lib.optionalString enableProfiling "-prof") ''
2526
set -euo pipefail
@@ -53,10 +54,10 @@ let
5354
# Not sure why this `unset` helps. It might avoids some kind of overflow issue. We see `wine` fail to start when building `cardano-wallet-cli` test `unit`.
5455
unset pkgsHostTargetAsString
5556
unset LINK_DLL_FOLDERS
56-
WINEDLLOVERRIDES="winemac.drv=d" WINEDEBUG=warn-all,fixme-all,-menubuilder,-mscoree,-ole,-secur32,-winediag WINEPREFIX=$TMP ${wine}/bin/wine64 $REMOTE_ISERV/${interpreter.exeName} tmp $PORT --no-load-call $ISERV_ARGS &
57+
WINEDLLOVERRIDES="winemac.drv=d" WINEDEBUG=warn-all,fixme-all,-menubuilder,-mscoree,-ole,-secur32,-winediag WINEPREFIX=$TMP ${wine}/bin/wine64 $REMOTE_ISERV/${interpreter.exeName} tmp $PORT ${no-load-call} $ISERV_ARGS &
5758
(>&2 echo "---| ${interpreter.exeName} should have started on $PORT")
5859
RISERV_PID="$!"
59-
ISERV_TARGET=WINE ${iserv-proxy}/bin/iserv-proxy $@ 127.0.0.1 "$PORT" --no-load-call $PROXY_ARGS
60+
ISERV_TARGET=WINE ${iserv-proxy}/bin/iserv-proxy $@ 127.0.0.1 "$PORT" ${no-load-call} $PROXY_ARGS
6061
(>&2 echo "---> killing ${interpreter.exeName}...")
6162
kill $RISERV_PID
6263
'';

0 commit comments

Comments
 (0)