diff --git a/generate_packages.sh b/generate_packages.sh index cf2898a..08febb1 100644 --- a/generate_packages.sh +++ b/generate_packages.sh @@ -73,10 +73,7 @@ update_pkbuild() { update_flake() { sed -i 's#\(ymExe\.url\s*=\s*\).*;#\1'"$exe_link"';#' ./flake.nix if check_dep nix; then - nix --extra-experimental-features 'nix-command flakes' flake lock update --update-input ymExe - if [[ $(git status --porcelain) ]]; then - nix --extra-experimental-features 'nix-command flakes' flake update - fi + nix --extra-experimental-features 'nix-command flakes' flake update else echo "flake.nix was updated, but nix is not installed to update flake.lock" fi