try: fix xonsh syntax error — inline conditional to avoid if-without-else parsing bug
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Oleks
2026-03-15 14:27:46 +02:00
parent 4a50fe3f31
commit 5fe57dc74c
+2 -6
View File
@@ -13,12 +13,8 @@ print(f"=== Building flake-hub packages for {ARCH} ===")
attic = $(nix build --inputs-from . nixpkgs#attic-client --print-out-paths --no-link).strip() + "/bin/attic"
@(attic) login ci @(ATTIC_SERVER) $ATTIC_TOKEN
# Common packages (all arches)
packages = ["hello-world", "geesefs", "xonsh"]
# Cross-only packages
if ARCH == "s390x-linux":
packages += ["attic-client"]
# Common packages (all arches) + cross-only packages
packages = ["hello-world", "geesefs", "xonsh"] + (["attic-client"] if ARCH == "s390x-linux" else [])
print("Building packages...")
for pkg in packages: