Skip to content

Commit

Permalink
fix(hosts/common/auto-upgrade): correctly check for upstream build
Browse files Browse the repository at this point in the history
attribute path was changed in .#checks, forgot to accomodate for it here
  • Loading branch information
akosnad committed Oct 21, 2024
1 parent 0bdb1f3 commit d57b902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hosts/common/global/auto-upgrade.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ in
test "$upstreamModified" -gt "$(lastModified "self")"
# check if system derivation is built upstream (i.e. by CI/CD or available from substituters)
checkBuilt "${config.system.autoUpgrade.flake}#checks.nixos-${config.networking.hostName}"
checkBuilt "${config.system.autoUpgrade.flake}#checks.${config.nixpkgs.hostPlatform.system}.nixos-${config.networking.hostName}"
'';
});
};
Expand Down

0 comments on commit d57b902

Please sign in to comment.