Skip to content

Commit 5f43075

Browse files
authored
Merge pull request #1327 from IntersectMBO/defensive-mempool
Defensive mempool
2 parents dd03c5a + f30522e commit 5f43075

5 files changed

Lines changed: 22 additions & 16 deletions

File tree

.github/workflows/release-upload.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ jobs:
159159
derivation+="${{ matrix.arch }}"
160160
;;
161161
"x86_64-linux")
162-
derivation+="x86_64-linux.ghc967-x86_64-unknown-linux-musl"
162+
derivation+="x86_64-linux.ghc9122-x86_64-unknown-linux-musl"
163163
;;
164164
"aarch64-linux")
165-
derivation+="x86_64-linux.ghc967-aarch64-unknown-linux-musl"
165+
derivation+="x86_64-linux.ghc9122-aarch64-unknown-linux-musl"
166166
;;
167167
"win64")
168-
derivation+="x86_64-linux.ghc967-x86_64-w64-mingw32"
168+
derivation+="x86_64-linux.ghc9122-x86_64-w64-mingw32"
169169
;;
170170
*)
171171
echo "Unexpected matrix.arch value: ${{ matrix.arch }}"

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository cardano-haskell-packages
1414
-- you need to run if you change them
1515
index-state:
1616
, hackage.haskell.org 2025-12-02T22:23:29Z
17-
, cardano-haskell-packages 2026-01-26T18:50:24Z
17+
, cardano-haskell-packages 2026-01-29T01:19:14Z
1818

1919
packages:
2020
cardano-cli

cardano-cli/cardano-cli.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ library
242242
binary,
243243
bytestring,
244244
canonical-json,
245-
cardano-api ^>=10.22,
245+
cardano-api ^>=10.23,
246246
cardano-binary,
247247
cardano-crypto,
248248
cardano-crypto-class ^>=2.2.3.2,

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
defaultCompiler = "ghc984";
3535
# Used for cross compilation, and so referenced in .github/workflows/release-upload.yml. Adapt the
3636
# latter if you change this value.
37-
crossCompilerVersion = "ghc967";
37+
crossCompilerVersionUcrt64 = "ghc9122";
38+
crossCompilerVersionMusl = "ghc967";
3839
in
3940
{inherit (inputs) incl;}
4041
// inputs.flake-utils.lib.eachSystem supportedSystems (
@@ -134,12 +135,17 @@
134135

135136
# we also want cross compilation to windows on linux (and only with default compiler).
136137
crossPlatforms = p:
137-
lib.optionals (system == "x86_64-linux" && config.compiler-nix-name == crossCompilerVersion)
138-
[
139-
p.ucrt64 # x86_64-windows
140-
p.aarch64-multiplatform-musl # aarch64-linux (static)
141-
p.musl64 # x86_64-linux (static)
142-
];
138+
(
139+
lib.optionals (system == "x86_64-linux" && config.compiler-nix-name == crossCompilerVersionUcrt64)
140+
[
141+
p.ucrt64 # x86_64-windows
142+
]
143+
)
144+
++ (lib.optionals (system == "x86_64-linux" && config.compiler-nix-name == crossCompilerVersionMusl)
145+
[
146+
p.aarch64-multiplatform-musl # aarch64-linux (static)
147+
p.musl64 # x86_64-linux (static)
148+
]);
143149

144150
# CHaP input map, so we can find CHaP packages (needs to be more
145151
# recent than the index-state we set!). Can be updated with
@@ -301,7 +307,7 @@
301307
flake = cabalProject.flake (
302308
lib.optionalAttrs (system == "x86_64-linux") {
303309
# on linux, build/test other supported compilers
304-
variants = lib.genAttrs [crossCompilerVersion] (compiler-nix-name: {
310+
variants = lib.genAttrs [crossCompilerVersionMusl crossCompilerVersionUcrt64] (compiler-nix-name: {
305311
inherit compiler-nix-name;
306312
});
307313
}

0 commit comments

Comments
 (0)