mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
Fix for nix version
This commit is contained in:
parent
c3d30592ec
commit
ee6326f373
2
.github/workflows/update-build-release.yml
vendored
2
.github/workflows/update-build-release.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user