From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id B2FkNCE20F5paAAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 22:07:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KHi3LyE20F4pNgAAB5/wlQ (envelope-from ) for ; Thu, 28 May 2020 22:07:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37A4394053A for ; Thu, 28 May 2020 22:07:29 +0000 (UTC) Received: from localhost ([::1]:52790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeQgS-0008SR-28 for larch@yhetil.org; Thu, 28 May 2020 18:07:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeQgI-0008SD-MN for guix-devel@gnu.org; Thu, 28 May 2020 18:07:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42733) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeQgG-0003Te-P9; Thu, 28 May 2020 18:07:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40106 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jeQgD-0006Fp-JS; Thu, 28 May 2020 18:07:14 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: Can we increase the print width/column in daemon backtraces References: <87tvbn7ff3.fsf@ambrevar.xyz> <87k1cjihvm.fsf@elephly.net> <87h87n78yf.fsf@ambrevar.xyz> <87muf38yzh.fsf@gmail.com> <87k117x9m7.fsf@ambrevar.xyz> <87zh9xxc8b.fsf@gnu.org> <87lflgjkqc.fsf@ambrevar.xyz> <87imgk6nov.fsf@gnu.org> <875zcjnp14.fsf@ambrevar.xyz> <87d06r5e42.fsf@gnu.org> <87zh9tirp6.fsf@elephly.net> <87h7w1eirq.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 29 May 2020 00:07:11 +0200 In-Reply-To: <87h7w1eirq.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 27 May 2020 13:09:45 +0200") Message-ID: <87v9kf7lyo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Katherine Cox-Buday , Maxim Cournoyer Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: FCOOVUJkqflZ Hi, Pierre Neidhardt skribis: > Ricardo Wurmus 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 + "=3D" + i->secon= d, rewritesToTmp)); >> + envStrs.push_back("COLUMNS=3D1024"); >>=20=20 >> /* 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=E2=80=99s key to reproducibility. However, what we can do is add COLUMNS to #:env-vars in =E2=80=98package-derivation=E2=80=99 on =E2=80=98core-updates=E2=80=99 and/= or as the default value of #:env-vars in =E2=80=98gexp->derivation=E2=80=99. HTH! Ludo=E2=80=99.