We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b0003 commit 53eba66Copy full SHA for 53eba66
nix/default.nix
@@ -1,3 +1,3 @@
1
{ ... }@args:
2
with (import ./flake-compat.nix args);
3
-defaultNix.legacyPackages.${builtins.currentSystem}
+defaultNix.legacyPackages.${args.system or builtins.currentSystem}
nix/nixos/cardano-node-service.nix
@@ -183,7 +183,7 @@ in {
183
184
cardanoNodePackages = mkOption {
185
type = types.attrs;
186
- default = pkgs.cardanoNodePackages or (import ../. {}).cardanoNodePackages;
+ default = pkgs.cardanoNodePackages or (import ../. { inherit (pkgs) system; }).cardanoNodePackages;
187
defaultText = "cardano-node packages";
188
description = ''
189
The cardano-node packages and library that should be used.
0 commit comments