diff --git a/up.sh b/up.sh index 1c0cac1..be44443 100755 --- a/up.sh +++ b/up.sh @@ -25,12 +25,13 @@ function error_exit { # Package blacklist case "$PACKAGE_NAME" in - *jquery*) false;; # this isn't a real package - *google-cloud-sdk*) false;; # complicated package - *github-release*) false;; # complicated package - *fcitx*) false;; # gets stuck in daemons - *fricas*) false;; # gets stuck in emacs - *libxc*) false;; # currently people don't want to update this + *jquery*) error_exit "this isn't a real package";; + *google-cloud-sdk*) error_exit "complicated package";; + *github-release*) error_exit "complicated package";; + *fcitx*) error_exit "gets stuck in daemons";; + *fricas*) error_exit "gets stuck in emacs";; + *libxc*) error_exit "currently people don't want to update this https://github.com/NixOS/nixpkgs/pull/35821";; + perl*) error_exit "currently don't know how to update perl";; *) true;; esac || error_exit "Package on blacklist." @@ -136,7 +137,7 @@ fi git diff -COMMIT_MESSAGE="$PACKAGE_NAME: $OLD_VERSION -> $NEW_VERSION +COMMIT_MESSAGE="$ATTR_PATH: $OLD_VERSION -> $NEW_VERSION Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: