Domen Kožar

Results 1589 comments of Domen Kožar

See #2060 for better reporting of what Nix is doing

@edolstra shouldn't this delete the second path? ``` $ nix store delete /run/current-system /nix/store/2vigl5h3qja0ms9a4grbn7z71psz2vcl-abcl-1.9.0 0 store paths deleted, 0.00 MiB freed error: Cannot delete path '/nix/store/zhx2jgcxczry9v3234viaywpc276ss2b-nixos-system-cherimoya-22.05pre-git' since it is still...

Ohh, it does delete it but it says it didn't :laughing:

``` $ nix-store -r /nix/store/2vigl5h3qja0ms9a4grbn7z71psz2vcl-abcl-1.9.0 warning: you did not specify '--add-root'; the result might be removed by the garbage collector /nix/store/2vigl5h3qja0ms9a4grbn7z71psz2vcl-abcl-1.9.0 $ nix store delete /nix/store/2vigl5h3qja0ms9a4grbn7z71psz2vcl-abcl-1.9.0 /run/current-system 0 store paths...

@edolstra what do you think about this approach by @thufschmitt https://github.com/tweag/nix/commit/0bb351b979689b19703a3cafbb8b7ca3dab69946

> error: syntax error, unexpected '=', expecting ';'

This example seems to fail: https://github.com/cachix/devenv/actions/runs/9872750941/job/27263894731?pr=1325#step:7:29