'make clean' followed by 'make' in the same Nix shell doesn't work

Demi Marie Obenour
2025-07-28T18:50:10Z

[-- Attachment #1.1.1: Type: text/plain, Size: 383 bytes --]

The following command fails to rebuild the image:

$ nix-shell --run 'make clean && make run-qemu'

The following command succeeds:

$ nix-shell --pure --run 'make clean' && nix-shell --pure --run 'make run-qemu'

Interactive Nix shells exhibit the same problems, and adding
--pure to the first invocation does not help.