=== modified file 'zsh-functions/confz_containers_init' --- old/zsh-functions/confz_containers_init 2022-06-23 01:01:22 +0000 +++ new/zsh-functions/confz_containers_init 2022-06-23 00:52:01 +0000 @@ -1076,15 +1076,16 @@ [[ -f $manifest_file ]] || \ die "Could not find manifest.nix file: ${(qqq)manifest_file}" - local -a world world_noversion missing - world=( "${(@f)$( + local -a world=( "${(@f)$( grep -o 'outPath = "[^"]*"' $manifest_file \ | uniq | sed 's|^outPath = "/nix/store/[^-]*-||;s|"$||' )}" ) - world_noversion=( "${world[@]%-bin}" ) - world_noversion=( "${world_noversion[@]/%-[0-9.]#/}" ) + local -a world_noversion=( + "${${world[@]%-bin}/%-[0-9.]#/}" + ) + local -a missing + local pkg - local pkg for pkg in $=vars[packages]; do (( $world[(I)${pkg}] )) || \ (( $world_noversion[(I)${pkg}] )) || \