From ee6326f373e7f9fe7d65a695bc56fc1a015f74da Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Sun, 12 May 2024 14:36:31 +0300 Subject: [PATCH] Fix for nix version --- .github/workflows/update-build-release.yml | 2 +- utility/generate_packages.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-build-release.yml b/.github/workflows/update-build-release.yml index 601e472..9ed6157 100644 --- a/.github/workflows/update-build-release.yml +++ b/.github/workflows/update-build-release.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Install dependencies - run: pacman -Syy -q --noconfirm && pacman -S -q --noconfirm git jq nix python python-requests + run: pacman -Syy -q --noconfirm && pacman -S -q --noconfirm git jq nix python python-requests gcc-libs - name: Checkout uses: actions/checkout@v4 diff --git a/utility/generate_packages.py b/utility/generate_packages.py index f0936fb..07bcd50 100644 --- a/utility/generate_packages.py +++ b/utility/generate_packages.py @@ -38,6 +38,7 @@ def generate_arch(): def is_nix_version_2_19(): version = subprocess.run(["nix", "--version"], capture_output=True, text=True).stdout.split()[2] + print(f"Nix version: {version}") major, minor, _ = map(int, version.split(".")) if major > 2 or (minor >= 19 and major == 2): return True