Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/haskell-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ jobs:

- name: Restore cached deps
run: |
wget "https://agrius.feralhosting.com/palas/wasm-cache/14e3f2c1a5d629de5bade4329dc419fd2cfcc7914447f07e02126b28173a522c.tar.xz"
tar -xf 14e3f2c1a5d629de5bade4329dc419fd2cfcc7914447f07e02126b28173a522c.tar.xz
rm 14e3f2c1a5d629de5bade4329dc419fd2cfcc7914447f07e02126b28173a522c.tar.xz
wget "https://agrius.feralhosting.com/palas/wasm-cache/37532912ac94e8ac8888d6e85e7369935732e1065218c37ab340130b65c63060.tar.xz"
tar -xf 37532912ac94e8ac8888d6e85e7369935732e1065218c37ab340130b65c63060.tar.xz
rm 37532912ac94e8ac8888d6e85e7369935732e1065218c37ab340130b65c63060.tar.xz
rm -fr ~/.ghc-wasm/.cabal/store/
mv store ~/.ghc-wasm/.cabal/

Expand Down
7 changes: 3 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository cardano-haskell-packages
-- you need to run if you change them
index-state:
, hackage.haskell.org 2025-12-02T22:23:29Z
, cardano-haskell-packages 2026-02-05T18:24:26Z
, cardano-haskell-packages 2026-02-09T12:34:49Z

packages:
cardano-api
Expand Down Expand Up @@ -56,7 +56,6 @@ if impl (ghc >= 9.12)
-- https://github.com/kapralVV/Unique/issues/11
, Unique:hashable


-- WASM compilation specific

if arch(wasm32)
Expand All @@ -82,11 +81,11 @@ if arch(wasm32)
source-repository-package
type: git
location: https://github.com/palas/ouroboros-network.git
tag: 2fddbdb8ed23b63a43852bb98bd6ddc1a6d96d98
tag: a3a7c6070e9dcdcdf0b993d05de1477d98215195
subdir:
ouroboros-network
ouroboros-network-framework
--sha256: sha256-OAPsul8TaOpNwd2BlTE0jwqWiRk83rNVSxtIA5Se9Kg=
--sha256: sha256-QpnqR6zYMJHq+gaBgEV1pKdqs0IrOGGqcV6NMAPkRUA=

source-repository-package
type: git
Expand Down
6 changes: 3 additions & 3 deletions cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ library
network-mux,
nothunks,
ordered-containers,
ouroboros-consensus ^>=0.29,
ouroboros-consensus >=0.30.0.1 && <0.31,
ouroboros-consensus-cardano ^>=0.26,
ouroboros-consensus-diffusion ^>=0.25,
ouroboros-consensus-diffusion ^>=0.26,
ouroboros-consensus-protocol ^>=0.13,
ouroboros-network,
ouroboros-network >=0.22.6.0 && <0.23,
ouroboros-network-api >=0.15,
ouroboros-network-framework,
ouroboros-network-protocols >=0.15,
Expand Down
3 changes: 3 additions & 0 deletions cardano-rpc/cardano-rpc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ common project-config
-Wredundant-constraints
-Wunused-packages

if impl(ghc >= 9.12)
buildable: False

library
import: project-config
hs-source-dirs: src
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 15 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
defaultCompiler = "ghc9102";
# Used for cross compilation, and so referenced in .github/workflows/release-upload.yml. Adapt the
# latter if you change this value.
crossCompilerVersion = "ghc967";
crossCompilerVersion = "ghc9122";
Copy link
Copy Markdown
Contributor

@carbolymer carbolymer Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we switching to GH912 for cross-compilation? We are still building cardano-node using 9.6.7 so it is beneficial to have this in CI. Otherwise you will only catch windows cross-compilation issues at the integration stage in cardano-node.

in
inputs.flake-utils.lib.eachSystem supportedSystems (
system: let
Expand Down Expand Up @@ -200,14 +200,20 @@
substituteInPlace crypton-x509-system.cabal --replace 'Crypt32' 'crypt32'
'';
}
({pkgs, ...}: {
packages.proto-lens-protobuf-types.components.library.build-tools = [pkgs.buildPackages.protobuf];
# on GCC > 14 a conversion warning became an error and needs to be silenced
packages.basement.components.library.configureFlags = [
"--hsc2hs-option=--cflag=-Wno-int-conversion"
];
# This is only needed when doing codegen in cardano-rpc itself
# packages.cardano-rpc.components.library.build-tools = [pkgs.buildPackages.protobuf];
({
pkgs,
config,
...
}: {
packages =
{
basement.components.library.configureFlags = [
"--hsc2hs-option=--cflag=-Wno-int-conversion"
];
}
// lib.optionalAttrs (config.packages ? proto-lens-protobuf-types) {
proto-lens-protobuf-types.components.library.build-tools = [pkgs.buildPackages.protobuf];
};
})
];
});
Expand Down
Loading