[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can we increase the print width/column in daemon backtraces
From: |
Ludovic Courtès |
Subject: |
Re: Can we increase the print width/column in daemon backtraces |
Date: |
Fri, 29 May 2020 00:07:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Pierre Neidhardt <mail@ambrevar.xyz> skribis:
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
>> index 29266f1dd6..94609e07f5 100644
>> --- a/nix/libstore/build.cc
>> +++ b/nix/libstore/build.cc
>> @@ -2247,6 +2247,7 @@ void DerivationGoal::runChild()
>> Strings envStrs;
>> foreach (Environment::const_iterator, i, env)
>> envStrs.push_back(rewriteHashes(i->first + "=" + i->second,
>> rewritesToTmp));
>> + envStrs.push_back("COLUMNS=1024");
>>
>> /* If we are running in `build-users' mode, then switch to the
>> user we allocated above. Make sure that we drop all root
>
> What about merging this then?
This modifies the environment of every single build process, so no.
Environment contents are set in stone, it’s key to reproducibility.
However, what we can do is add COLUMNS to #:env-vars in
‘package-derivation’ on ‘core-updates’ and/or as the default value of
#:env-vars in ‘gexp->derivation’.
HTH!
Ludo’.
- Re: Can we increase the print width/column in daemon backtraces, (continued)
Re: Can we increase the print width/column in daemon backtraces, Pierre Neidhardt, 2020/05/25
- Re: Can we increase the print width/column in daemon backtraces, Marius Bakke, 2020/05/25
- Re: Can we increase the print width/column in daemon backtraces, Pierre Neidhardt, 2020/05/26
- Re: Can we increase the print width/column in daemon backtraces, Marius Bakke, 2020/05/26
- Re: Can we increase the print width/column in daemon backtraces, Pierre Neidhardt, 2020/05/26
- Re: Can we increase the print width/column in daemon backtraces, Ricardo Wurmus, 2020/05/27
- Re: Can we increase the print width/column in daemon backtraces, Pierre Neidhardt, 2020/05/27
- Re: Can we increase the print width/column in daemon backtraces,
Ludovic Courtès <=
- Re: Can we increase the print width/column in daemon backtraces, Pierre Neidhardt, 2020/05/29