Skip to content

Commit f267367

Browse files
authored
Add haskell-accumulator (#1148)
* Added haskell-accumulator-1.0.0.0 From https://github.com/cardano-scaling/haskell-accumulator at bb606b4b17dafd90d6fae79a761c2b781d7b904c * Add hydra team to codeowners
1 parent e7d051d commit f267367

File tree

5 files changed

+140
-1
lines changed

5 files changed

+140
-1
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ _sources/quickcheck-contractmodel @input-output-hk/plutus-tools
136136

137137
# hydra
138138
_sources/hydra-* @input-output-hk/hydra-engineering
139+
_sources/haskell-accumulator @cardano-scaling/team-hydra
139140

140141
# performance-tracing
141142
_sources/cardano-topology @input-output-hk/performance-tracing
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
timestamp = 2025-10-17T15:10:00Z
2+
github = { repo = "cardano-scaling/haskell-accumulator", rev = "bb606b4b17dafd90d6fae79a761c2b781d7b904c" }
3+
subdir = 'haskell-accumulator'

flake.lock

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

flake.nix

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,15 @@
3232
url = "github:input-output-hk/iohk-nix";
3333
inputs.nixpkgs.follows = "nixpkgs";
3434
};
35+
36+
# Required by haskell-accumulator
37+
rust-accumulator = {
38+
url = "github:cardano-scaling/rust-accumulator";
39+
inputs.nixpkgs.follows = "nixpkgs";
40+
};
3541
};
3642

37-
outputs = { self, nixpkgs, flake-utils, foliage, haskell-nix, CHaP, iohk-nix, ... }:
43+
outputs = { self, nixpkgs, flake-utils, foliage, haskell-nix, CHaP, iohk-nix, rust-accumulator, ... }:
3844
let
3945
inherit (nixpkgs) lib;
4046
inherit (import ./nix/chap-meta.nix { inherit lib CHaP; }) chap-package-latest-versions chap-package-versions mkPackageTreeWith;
@@ -263,6 +269,17 @@
263269
iohk-nix.overlays.crypto
264270
haskell-nix.overlay
265271
iohk-nix.overlays.haskell-nix-crypto
272+
273+
# Required by haskell-accumulator
274+
(final: prev: {
275+
librust_accumulator = rust-accumulator.defaultPackage.${final.system};
276+
haskell-nix = prev.haskell-nix // {
277+
extraPkgconfigMappings = prev.haskell-nix.extraPkgconfigMappings or { } // {
278+
"librust_accumulator" = [ "librust_accumulator" ];
279+
};
280+
};
281+
})
282+
266283
];
267284
};
268285

nix/builder.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ let
4848
echo "doc haddock $docdir/html" >> $doc/nix-support/hydra-build-products
4949
'';
5050
}];
51+
5152
}
5253
(extraConfig compiler-nix-name)
5354
];

0 commit comments

Comments
 (0)