[Nix-dev] nixos-install --show-trace

Marc Weber marco-oweber at gmx.de
Wed Oct 14 02:45:10 CEST 2009


Hi Tony,

I'll onnly reply to the --show-trace question.
If you manage to rebuild your system once --show-tracew will magically
work.
Because you nixos-rebuild script is too old you don't have that option
Just open the file $EDITOR `which nixos-rebuild` and add it manually.
Yes - you should never edit store files - however this is an exception
:)
Or copy paste the nix-build command and run it manually adding that
option.

But if we are talking about nixos-rebuild: What about adding
nixos-rebuild --fast which means nixos-rebuild --no-pull --no-build-nix ?

It's much faster to type and easier to remember.. or maybe even better:
What about pulling / building nix only once a day?
Than running nixos-rebuild will be fast the second time automatically
while still updating the system.

Marc Weber



More information about the nix-dev mailing list