-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cardano-wallet NixOS module not working with cardano-node NixOS module #4522
Comments
Not the same error, but this seems related to #3179 |
We currently lack the nix expertise to tackle this issue. |
This can be fixed by declaring the An example using flakes: services.cardano-node.package = inputs.cardano-node.legacyPackages.${pkgs.stdenv.hostPlatform.system}.cardano-node; |
clemenscodes
added a commit
to clemenscodes/cardano-wallet
that referenced
this issue
Dec 8, 2024
The option `self.defaultPackage.${pkgs.system}` does not contain a `cardano-node` package, it only has 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 cardano-foundation#4522.
clemenscodes
added a commit
to clemenscodes/cardano-wallet
that referenced
this issue
Dec 8, 2024
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 cardano-foundation#4522.
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 9, 2024
This fixes #4522. The option `self.defaultPackage.${pkgs.system}` does not contain a `cardano-node` package, it only contains a `cardano-wallet` package. Currently users are required to override the `services.cardano-node.package` option manually by pointing to a compatible cardano-node package. So we point to the correct `cardano-node` compatible with `cardano-wallet` by using `self.packages.${pkgs.system}.cardano-node` instead.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just checking...
cardano-wallet
bug.cardano-wallet
release.cardano-node
version for that release ofcardano-wallet
.Version
v2024-03-27 (git revision 08ab303)
Platform
Linux desjardins 6.1.63 #1-NixOS SMP PREEMPT_DYNAMIC Mon Nov 20 10:52:19 UTC 2023 x86_64 GNU/Linux
Installation method
Nix
Network configuration
mainnet
Context
No response
Description
Steps to Reproduce
Here are the relevant parts of my initial
configuration.nix
with a workingcardano-node
:Then, as I wanted to add the cardano-wallet NixOS module, I changed it as follows:
These steps come directly from
cardano-wallet
documentation: https://cardano-foundation.github.io/cardano-wallet/user/installation/use-nixos.html#nixos-moduleExpected behavior
A working cardano-wallet systemd service which syncs with the installed cardano-node.
Actual behavior
Without adding the
cardano-wallet
NixOS module, mycardano-node
service would successfully sync on mainnet. When adding thecardano-wallet
NixOS module, thecardano-node
service fails.Here is the output of
journalctl -u cardano-node.service
The output of
journalctl -u cardano-wallet.service
Looking at the logs, the
cardano-wallet
service doesn't use thecardano-node
that I have installed.The text was updated successfully, but these errors were encountered: