Devenv.sh v2.0 switched to Snix / TUI, from this perspective - what is the advised procedure to debug failing builds / get access to build output?
~/tmp/tmp01$ nix profile add github:cachix/devenv/v2.0.5 --priority -100
~/tmp/tmp01$ devenv --version
devenv 2.0.5+6d74e53 (x86_64-linux)
~/tmp/tmp01$ devenv init
~/tmp/tmp01$ devenv shell --verbose
✓ Configuring shell 212ms
└ ✓ Downloading s3://nix-shell-binary-cache-xxx/nix-cache-info from nix-shell-binary-cache 0ms
└ ✓ Downloading s3://nix-shell-binary-cache-xxx/nix-cache-info from nix-shell-binary-cache 0ms
└ ✓ Updating inputs 4 files 0ms
└ ✓ Checking cachix config cached 0ms
└ ✗ Evaluating shell 1763 files 212ms
└ ✓ Building devenv-files-cleanup 50ms
└ ✓ Building hello-script 50ms
• devenv path: '/nix/store/s0bdxxy4gki016irflyqlxy5mzr96kin-source/pkgs/development/compilers/llvm/18/llvm/polly-lit-cfg-add-libs-to-dylib-path.patch'
• note: keeping build directory '/nix/var/nix/builds/nix-13072-2397451764'
• note: keeping build directory '/nix/var/nix/builds/nix-13072-2397451765'
Error: × Evaluation error: Failed to realize shell derivation: note: keeping build directory '/nix/var/nix/builds/nix-13072-2397451765': error: Cannot build '/nix/store/hgs53vkxis0rzfb30qssvmgml04nkh75-devenv-shell.drv'.
│ Reason: 3 dependencies failed.
│ Output paths:
│ /nix/store/y42gc5rwxyqc6xiw4qgjwijb57ppsfbf-devenv-shell
~/tmp/tmp01$ nix-store -l /nix/store/y42gc5rwxyqc6xiw4qgjwijb57ppsfbf-devenv-shell
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
~/tmp/tmp01$ nix-store --realise /nix/store/hgs53vkxis0rzfb30qssvmgml04nkh75-devenv-shell.drv
this derivation will be built:
/nix/store/hgs53vkxis0rzfb30qssvmgml04nkh75-devenv-shell.drv
building '/nix/store/hgs53vkxis0rzfb30qssvmgml04nkh75-devenv-shell.drv'...
Running phase: buildPhase
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/y42gc5rwxyqc6xiw4qgjwijb57ppsfbf-devenv-shell
~/tmp/tmp01$ devenv shell --verbose
✓ Configuring shell 2ms
└ ✓ Downloading s3://nix-shell-binary-cache-xxx/nix-cache-info from nix-shell-binary-cache 0ms
└ ✓ Downloading s3://nix-shell-binary-cache-xxx/nix-cache-info from nix-shell-binary-cache 0ms
└ ✓ Validating lock 0ms
└ ✓ Checking cachix config cached 0ms
└ ✗ Evaluating shell 1763 files 1ms
└ ✓ Building devenv-shell-env 0ms
• devenv path: '/nix/store/s0bdxxy4gki016irflyqlxy5mzr96kin-source/pkgs/development/compilers/llvm/18/llvm/lit-shell-script-runner-set-dyld-library-path.patch'
• devenv path: '/nix/store/s0bdxxy4gki016irflyqlxy5mzr96kin-source/pkgs/development/compilers/llvm/20/llvm/gnu-install-dirs-polly.patch'
• devenv path: '/nix/store/s0bdxxy4gki016irflyqlxy5mzr96kin-source/pkgs/development/compilers/llvm/18/llvm/polly-lit-cfg-add-libs-to-dylib-path.patch'
• note: keeping build directory '/nix/var/nix/builds/nix-18333-180456206'
Error: × Evaluation error: Failed to get dev environment: error: suspicious ownership or permission on '/nix/store/8i8l6a17xp3cwpn5qv0aqh1blmzqg9wz-devenv-shell-env' for output 'out'; rejecting this build output
Devenv.sh v2.0 switched to Snix / TUI, from this perspective - what is the advised procedure to debug failing builds / get access to build output?