From 0af88799803813100423aa0097afdfa14955910b Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Wed, 21 Mar 2018 20:53:40 -0700 Subject: [PATCH] temporarily blacklist attrpaths starting with lua --- up.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/up.sh b/up.sh index ddcb4cb..ba82661 100755 --- a/up.sh +++ b/up.sh @@ -68,6 +68,14 @@ then error_exit "Packages from gnome are currently blacklisted." fi +# Temporarily blacklist lua packages at @teto's request +# https://github.com/NixOS/nixpkgs/pull/37501#issuecomment-375169646 +if echo "$ATTR_PATH" | grep "^lua" +then + error_exit "Packages for lua are currently blacklisted." +fi + + DERIVATION_FILE=$(EDITOR="echo" nix edit "$ATTR_PATH" -f .) || error_exit "Couldn't find derivation file." function error_cleanup {