commit 4446d072c6ec31222fddfcc6e28cbbc14e9166d1 parent 3a24d9ff195f08c2ff04f40dfa8fdd9493dadae4 Author: Jan Pobříslo <ccx@te2000.cz> Date: Thu, 23 Jun 2022 03:02:28 +0200 Also strip dashes in version Diffstat:
M | zsh-functions/confz_containers_init | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init @@ -1082,7 +1082,7 @@ confz_container_nix_packages_installed_check() { | uniq | sed 's|^outPath = "/nix/store/[^-]*-||;s|"$||' )}" ) world_noversion=( "${world[@]%-bin}" ) - world_noversion=( "${world_noversion[@]/%-[0-9.]#/}" ) + world_noversion=( "${world_noversion[@]/%-[-0-9.]#/}" ) local pkg for pkg in $=vars[packages]; do