0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-01-11 22:41:03 +03:00

Revert "Merge pull request #37 from ein-shved/master"

This reverts commit 508d987d1d, reversing
changes made to f3e1a01f37.
This commit is contained in:
Andrey Onishchenko 2024-02-09 14:40:05 +03:00
parent 508d987d1d
commit 18145ed163

View File

@ -73,10 +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 --extra-experimental-features 'nix-command flakes' flake lock update --update-input ymExe nix --extra-experimental-features 'nix-command flakes' flake update
if [[ $(git status --porcelain) ]]; then
nix --extra-experimental-features 'nix-command flakes' flake update
fi
else else
echo "flake.nix was updated, but nix is not installed to update flake.lock" echo "flake.nix was updated, but nix is not installed to update flake.lock"
fi fi