Fix update build for nix

Change-Id: I93b7657052ed8bcdccc852018f6c79307692ba8d
This commit is contained in:
Yury Shvedov
2024-02-04 13:39:50 +03:00
committed by Shvedov Yury
parent 4d7f1cf6ff
commit a0ef6c0ad9
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
run: pacman -Syy --noconfirm run: pacman -Syy --noconfirm
- name: Install deps - name: Install deps
run: pacman -S --noconfirm git jq run: pacman -S --noconfirm git jq nix
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
+1 -1
View File
@@ -73,7 +73,7 @@ update_pkbuild() {
update_flake() { update_flake() {
sed -i 's#\(ymExe\.url\s*=\s*\).*;#\1'"$exe_link"';#' ./flake.nix sed -i 's#\(ymExe\.url\s*=\s*\).*;#\1'"$exe_link"';#' ./flake.nix
if check_dep nix; then if check_dep nix; then
nix flake lock --update-input ymExe nix --extra-experimental-features 'nix-command flakes' flake update
else else
echo "flake.nix was updated, but nix not installed to update flake.lock" echo "flake.nix was updated, but nix not installed to update flake.lock"
fi fi