[Nix-dev] Debugging nixpkgs
Konrad Hinsen
konrad.hinsen at fastmail.net
Wed Apr 4 15:36:23 CEST 2012
Rob Vermaas writes:
> > For now, I am still stuck in figuring out why gfortran won't build on
> > my MacOS X system. Is there a way to prevent nix-build from deleting
> > its temporary work directory if the build fails? Seeing its state at
> > the point of failure would help me to analyse the problem.
>
> $ nix-env --help
> ...
> --keep-failed / -K: keep temporary directories of failed builds
Thanks! nix-build understand the same option. But what it doesn't do
is tell me where the temporary directory actually is. I ended up
finding it using "find" on a file known to be there, but that's quite
inefficient.
Konrad.
More information about the nix-dev
mailing list