Skip to content

Commit cc87d59

Browse files
committed
flake.nix: Depend on unversioned ogmios and kupo
Cardano.nix removed support for multiple versions mlabs-haskell/cardano.nix#113
1 parent 659380f commit cc87d59

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

flake.nix

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@
8585
darwinSystems = [ "x86_64-darwin" "aarch64-darwin" ];
8686
supportedSystems = linuxSystems ++ darwinSystems;
8787

88-
ogmiosVersion = "6.5.0";
89-
kupoVersion = "2.9.0";
90-
9188
perSystem = nixpkgs.lib.genAttrs supportedSystems;
9289

9390
mkNixpkgsFor = system: import nixpkgs {
@@ -211,7 +208,7 @@
211208
name = "ctl-e2e-test";
212209
runnerMain = "Test.Ctl.E2E";
213210
testMain = "Ctl.Examples.ByUrl";
214-
buildInputs = [ inputs.cardano-nix.packages.${pkgs.system}."kupo-${kupoVersion}" ];
211+
buildInputs = [ inputs.cardano-nix.packages.${pkgs.system}.kupo ];
215212
};
216213
ctl-local-testnet-test = project.runLocalTestnetTest {
217214
name = "ctl-local-testnet-test";
@@ -284,11 +281,11 @@
284281
inherit (prev) system;
285282
in
286283
{
287-
ogmios = cardano-nix.packages.${system}."ogmios-${ogmiosVersion}";
284+
ogmios = cardano-nix.packages.${system}.ogmios;
288285
cardano-testnet = cardano-node.packages.${system}.cardano-testnet;
289286
cardano-node = cardano-node.packages.${system}.cardano-node;
290287
cardano-cli = cardano-node.packages.${system}.cardano-cli;
291-
kupo = cardano-nix.packages.${system}."kupo-${kupoVersion}";
288+
kupo = cardano-nix.packages.${system}.kupo;
292289
cardano-db-sync = inputs.db-sync.packages.${system}.cardano-db-sync;
293290
blockfrost-backend-ryo = inputs.blockfrost.packages.${system}.blockfrost-backend-ryo;
294291
buildCtlRuntime = buildCtlRuntime final;
@@ -488,8 +485,8 @@
488485
];
489486
specialArgs = {
490487
inherit (inputs) cardano-configurations;
491-
ogmios = inputs.cardano-nix.packages.${system}."ogmios-${ogmiosVersion}";
492-
kupo = inputs.cardano-nix.packages.${system}."kupo-${kupoVersion}";
488+
ogmios = inputs.cardano-nix.packages.${system}.ogmios;
489+
kupo = inputs.cardano-nix.packages.${system}.kupo;
493490
};
494491
};
495492

0 commit comments

Comments
 (0)