List the derivations a package upgrade would build
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV9dZrK6nipHkPfyM4F
This commit is contained in:
+1
-1
@@ -369,7 +369,7 @@ pkgs.testers.runNixOSTest {
|
||||
preview = json.loads(target.succeed("cat /var/lib/router/upgrade/preview.json"))
|
||||
assert preview["rev"] == running_rev and preview["version"] == running_version and preview["changes"] == [], preview
|
||||
assert preview["ref"].startswith("path:/var/lib/newer-nixpkgs?") and "rev=" + running_rev in preview["ref"] and "narHash=sha256-" in preview["ref"], preview
|
||||
assert preview["rebootNeeded"] is False and preview["builds"] == 0, preview
|
||||
assert preview["rebootNeeded"] is False and preview["builds"] == 0 and preview["buildNames"] == [], preview
|
||||
target.succeed("test ! -e /var/lib/router/upgrade/result")
|
||||
assert current() == before
|
||||
target.succeed("test ! -e /var/lib/router/config/nixpkgs-pin.json")
|
||||
|
||||
Reference in New Issue
Block a user