maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.
GNU Affero General Public License v3.0
835 stars 24 forks source link

Derivation read fails with chroot stores #112

Open lheckemann opened 1 year ago

lheckemann commented 1 year ago

What:

Lots of errors like

nix-output-monitor error: DerivationReadError /nix/store/d8sbf9afdpg05bak61lm1qyc3sjgqlq0-linux-config-6.1.51.drv: openFile: does not exist (No such file or directory)

How:

Run a build in a chroot store, e.g. nom-build --no-substitute --store /tmp '<nixpkgs>' -A linux

maralorn commented 1 year ago

Yeah, that is to be expected. I think the position of the store is even an assumption that I explicitly mention in the README.

I would be happy to have a solution to this but I can’t think of a good one.