=== modified file 'zsh-functions/confz_containers_init' --- old/zsh-functions/confz_containers_init 2022-06-23 00:43:31 +0000 +++ new/zsh-functions/confz_containers_init 2022-06-23 00:39:32 +0000 @@ -1046,9 +1046,8 @@ :image_name local root=$vars[containers_dir]/systems/$vars[image_name] - local -A stat_info - local profile_dir=$root/nix/var/nix/profiles/per-user/root/profile + local -A stat_info zstat -L -H stat_info $profile_dir # while it's a symlink while (( $stat_info[mode] >> 12 == 10 )); do @@ -1073,9 +1072,9 @@ fi zstat -L -H stat_info $manifest_file done - [[ -f $manifest_file ]] || \ + + [[ -f $profile_dir/manifest.nix ]] || \ die "Could not find manifest.nix file: ${(qqq)manifest_file}" - local -a world=( "${(@f)$( grep -o 'outPath = "[^"]*"' $manifest_file \ | uniq | sed 's|^outPath = "/nix/store/[^-]*-||;s|"$||'