mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-24 14:34:39 +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:
|
steps:
|
||||||
|
|
||||||
- name: Install dependencies
|
- 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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -38,6 +38,7 @@ def generate_arch():
|
|||||||
|
|
||||||
def is_nix_version_2_19():
|
def is_nix_version_2_19():
|
||||||
version = subprocess.run(["nix", "--version"], capture_output=True, text=True).stdout.split()[2]
|
version = subprocess.run(["nix", "--version"], capture_output=True, text=True).stdout.split()[2]
|
||||||
|
print(f"Nix version: {version}")
|
||||||
major, minor, _ = map(int, version.split("."))
|
major, minor, _ = map(int, version.split("."))
|
||||||
if major > 2 or (minor >= 19 and major == 2):
|
if major > 2 or (minor >= 19 and major == 2):
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user