From 5fe57dc74c17d09d7d8406505cc56536496202a5 Mon Sep 17 00:00:00 2001 From: Oleks Date: Sun, 15 Mar 2026 14:27:46 +0200 Subject: [PATCH] =?UTF-8?q?try:=20fix=20xonsh=20syntax=20error=20=E2=80=94?= =?UTF-8?q?=20inline=20conditional=20to=20avoid=20if-without-else=20parsin?= =?UTF-8?q?g=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci/build.xsh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ci/build.xsh b/ci/build.xsh index d34484e..f41091e 100644 --- a/ci/build.xsh +++ b/ci/build.xsh @@ -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: