Skip to content

Commit

Permalink
fix cardano-wallet nixos module
Browse files Browse the repository at this point in the history
The option `self.defaultPackage.${pkgs.system}` does not contain a
`cardano-node` package, it only contains a `cardano-wallet` package.

So we point to the correct `cardano-node` compatible with
`cardano-wallet` by using `self.packages.${pkgs.system}.cardano-node`
instead. This fixes #4522.
  • Loading branch information
clemenscodes committed Dec 8, 2024
1 parent f0377bf commit cceca56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@

nixosModule = { pkgs, lib, ... }: {
imports = [ ./nix/nixos/cardano-wallet-service.nix ];
services.cardano-node.package = lib.mkDefault self.defaultPackage.${pkgs.system};
services.cardano-node.package = lib.mkDefault self.packages.${pkgs.system}.cardano-node;
};
nixosModules.cardano-wallet = nixosModule;

Expand Down

0 comments on commit cceca56

Please sign in to comment.