scripts/update: more debug logging

This commit is contained in:
Colin 2024-06-20 22:54:16 +00:00
parent 12465e111e
commit 2445b882c2

View File

@ -44,7 +44,9 @@ getPkgs() {
attrPrefix=sane
fi
local attrs="$(nix-env -f . --query --available --attr-path --no-name -A $attrPrefix)"
debug "querying attributes which match '$attrPrefix'"
local attrs=$(nix-env -f . --query --available --attr-path --no-name -A "$attrPrefix" --show-trace)
debug "got: $attrs"
attrsArr+=($attrs)
}