fix
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user