This commit is contained in:
2025-05-23 15:13:20 +02:00
parent 8ea812e023
commit 56fb959489
+2 -2
View File
@@ -43,9 +43,9 @@ list-packages +$cut_args="-c1-": _packages_json
else
jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | [.key, .value.meta.position] | @tsv' -r \
| tr '0123456789' '9876543210' | sort | tr '0123456789' '9876543210' \
| sed -e "s#\t$(realpath master)/#\t#" \
| sed -e 's#:\([0-9]*\)$#\t\1#' \
| grep . >"$cachefile"
#| sed -e "s#\t$(realpath master)/#\t#" \
fi
@_list_packages_fname_filtered:
@@ -965,7 +965,7 @@ mk-packages-json $fname="packages.json" $rootdir=`cd "$invokedir"; git rev-parse
--show-trace \
--no-allow-import-from-derivation \
--arg config '{ allowAliases = false; }' \
| sd -F "\"$(realpath "$rootdir")/" "\"./"
| sd -F "\"$(realpath "$rootdir")/" "\""
)"
cat <<<"$packages_json" >"$fname"