=== modified file 'zsh-functions/confz_containers_init' --- old/zsh-functions/confz_containers_init 2022-06-23 00:24:20 +0000 +++ new/zsh-functions/confz_containers_init 2022-06-23 00:21:43 +0000 @@ -1048,15 +1048,14 @@ local root=$vars[containers_dir]/systems/$vars[image_name] local profile_dir=$root/nix/var/nix/profiles/per-user/root/profile local -A stat_info - zstat -L -H stat_info $profile_dir + zstat -H stat_info $profile_dir # while it's a symlink while (( $fileset_stat_cur[mode] >> 12 == 10 )); do if [[ $stat_info[link] == /* ]]; then profile_dir=$root$stat_info[link] else - profile_dir=${profile_dir:h}/$stat_info[link] + die "TODO? relative symlink: ${(qqq)profile_dir}" fi - zstat -L -H stat_info $profile_dir done [[ -f $profile_dir/manifest.nix ]] || \ die "Could not find manifest.nix inside ${(qqq)profile_dir}"