mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-18 00:41:49 +03:00
add atlas to blacklist, fail for equal hashes for now
This commit is contained in:
parent
34ccc1f3e4
commit
740ef08297
5
up.sh
5
up.sh
@ -11,7 +11,8 @@ BRANCH_NAME="auto-update/$1"
|
|||||||
|
|
||||||
# Package blacklist
|
# Package blacklist
|
||||||
case "$PACKAGE_NAME" in
|
case "$PACKAGE_NAME" in
|
||||||
*jquery*) false;
|
*jquery*) false;; # this isn't a real package
|
||||||
|
*atlas*) false;; # super slow to build
|
||||||
esac
|
esac
|
||||||
|
|
||||||
DERIVATION_FILE=$(find . | grep "/$1/default.nix" | head -n1)
|
DERIVATION_FILE=$(find . | grep "/$1/default.nix" | head -n1)
|
||||||
@ -52,7 +53,7 @@ if [ "$OLD_HASH" = "$NEW_HASH" ]
|
|||||||
then
|
then
|
||||||
|
|
||||||
echo "Hashes equal; no update necessary"
|
echo "Hashes equal; no update necessary"
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/$OLD_HASH/$NEW_HASH/g" "$DERIVATION_FILE"
|
sed -i "s/$OLD_HASH/$NEW_HASH/g" "$DERIVATION_FILE"
|
||||||
|
Loading…
Reference in New Issue
Block a user