mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
Fix update build for nix
Change-Id: I93b7657052ed8bcdccc852018f6c79307692ba8d
This commit is contained in:
parent
4d7f1cf6ff
commit
a0ef6c0ad9
2
.github/workflows/update-build-release.yml
vendored
2
.github/workflows/update-build-release.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
run: pacman -Syy --noconfirm
|
||||
|
||||
- name: Install deps
|
||||
run: pacman -S --noconfirm git jq
|
||||
run: pacman -S --noconfirm git jq nix
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -73,7 +73,7 @@ update_pkbuild() {
|
||||
update_flake() {
|
||||
sed -i 's#\(ymExe\.url\s*=\s*\).*;#\1'"$exe_link"';#' ./flake.nix
|
||||
if check_dep nix; then
|
||||
nix flake lock --update-input ymExe
|
||||
nix --extra-experimental-features 'nix-command flakes' flake update
|
||||
else
|
||||
echo "flake.nix was updated, but nix not installed to update flake.lock"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user