mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
nix-shell: print sourced shell file in higher levels
to easen debugs when nix-shell is not working in your shell
This commit is contained in:
parent
3157028fc1
commit
708c36f0b0
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ static void main_nix_build(int argc, char * * argv)
|
|||
shellEscape(*shell),
|
||||
(getenv("TZ") ? (string("export TZ=") + shellEscape(getenv("TZ")) + "; ") : ""),
|
||||
envCommand);
|
||||
vomit("Sourcing nix-shell with file %s and contents:\n%s", rcfile, rc);
|
||||
debug("Sourcing nix-shell with file %s and contents:\n%s", rcfile, rc);
|
||||
writeFile(rcfile, rc);
|
||||
|
||||
Strings envStrs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue