mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 07:31:00 +01:00
Show which PID is causing a temp root
Example:
error: Cannot delete path '/nix/store/klyng5rpdkwi5kbxkncy4gjwb490dlhb-foo.drv' because it's in use by Nix process '{nix-process:3605324}'.
This commit is contained in:
parent
cae732f7a1
commit
31b00218fe
6 changed files with 35 additions and 20 deletions
|
|
@ -9,6 +9,7 @@ mkDerivation {
|
|||
|
||||
cat > $out/program <<EOF
|
||||
#! ${shell}
|
||||
echo x > \$TEST_ROOT/fifo
|
||||
sleep 10000
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue