From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uMEFCE+w2mOmSQAAbAwnHQ (envelope-from ) for ; Wed, 01 Feb 2023 19:32:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cFYKB0+w2mN0gAEAG6o9tA (envelope-from ) for ; Wed, 01 Feb 2023 19:32:47 +0100 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 B362F15BB3 for ; Wed, 1 Feb 2023 19:32:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNHuF-00026J-UA; Wed, 01 Feb 2023 13:32:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNHti-00023m-5N for guix-devel@gnu.org; Wed, 01 Feb 2023 13:31:56 -0500 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNHtg-0007Xm-Di; Wed, 01 Feb 2023 13:31:53 -0500 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-506609635cbso258113067b3.4; Wed, 01 Feb 2023 10:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=e6fEMUAxitl85MzovlKpvgYQfhlqQP6XH71FLmqyhEQ=; b=D3sQ2eEURakunyrIYW9ByJCnrIFL3MS9PmFDBw0LLfwVb1cRk0Ojknnugh+pNGyUL7 q3/5TdBK9b9J3P/9WHP+CnAH6nsDLlhrwULLuqS54UiSbXkFaCstZv8RBDB79ixiDoAc TZHJJ0y4x2wcTlFQpU8Yl0NvVBbpERm4i/nvp7mwppG6a90ZQOkLYaTEWbpaL4+UOxXc oqhCAtIVbQeHzjyyp92t4v2REk6PY69NnF++xT3ssvnwTnpsKjFx8wP3lKfPmZ+zhwo/ lbkekLa9CblmyviuvLJ6u8Yt5JVkEBRBltJ1tw9T/veOeBOCtTV1+ZRK2yGvbY1Qa/DX eUWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=e6fEMUAxitl85MzovlKpvgYQfhlqQP6XH71FLmqyhEQ=; b=Jp9aYDTS3A2mtmllMP/IsO6v477J4bJyDx8ZPLDCk2hmVdAQztixF+t7P6qkGxGgJ+ izQd+ekTMwloLqyDadYJCzeItQTJne8E9h3eAEuiyWFAHvkM2EUlx+r/lQ0MDjcEcHTg r2dHBJEoyDmkwsax7dho1wKMS9TLbZOJqOPOMuclniR6G6YJmb3dVt4X0buApVvmDF1r KrLEDrjVOmKhLYzD8t6Zoei0bPX892JM/d5pTWI+wcaI6c/jV4G2z4X11fse+hxQiaBt Nk37hViXk/TrG3pV6rF4/Zak5KlCFcTPbtm9tUels9akIuaOUT4S7d6s5iwaKSBH45K7 GLtA== X-Gm-Message-State: AO0yUKU76Y9HpKW5H3UqR5LqUIzRvHnLLd4NVkmdmhxIPSxN86Aja9hG nfuo7h7dLfZc2Qp05b7FxayuDwWYPVV6kw== X-Google-Smtp-Source: AK7set9pXJfzuubRPoYJv7OiDPXGUCoMRPxHc3vLpFyQEfsLVsycjTbbk2TrxBtOYQlVKT/mzG6Hog== X-Received: by 2002:a81:1cc5:0:b0:50f:90e2:7a34 with SMTP id c188-20020a811cc5000000b0050f90e27a34mr2146359ywc.16.1675276309281; Wed, 01 Feb 2023 10:31:49 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id dz21-20020a05620a2b9500b00720ae160601sm5809972qkb.22.2023.02.01.10.31.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 10:31:48 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Mathieu Othacehe , guix-devel Subject: configurable guile backtrace in builder (was: services: base: Add extra-env support to guix-configuration) References: <20230107181938.14334-1-othacehe@gnu.org> <871qo0j1zn.fsf@gmail.com> <87r0vas5zx.fsf_-_@gnu.org> Date: Wed, 01 Feb 2023 13:31:47 -0500 In-Reply-To: <87r0vas5zx.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Tue, 31 Jan 2023 23:18:10 +0100") Message-ID: <87zg9xutik.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::112f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-yw1-x112f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675276366; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e6fEMUAxitl85MzovlKpvgYQfhlqQP6XH71FLmqyhEQ=; b=VYDp+Vg5Ox9kYdt9l7D/rePW+fCHJl2nxyq37yw+9pgrgP29Jtz7EUX8iQo5L6PcPEwGpc Dt6vNszvy0FtjyEguB/ta/nJW3xIr3GGBeMDtamrOnQ4Ti3zjrMX3Nj7C7UAX/8H4HIB5+ j/bq3e5XOWrGzOSIJVmmLhUGHw14XTtmQZ7NEflY2QTyJ3AGDGjJ1WiISWm9v11D1TBU4c 4lKKX3/wcF/huHbr68kvhphEgWCixiW3N+GywN/EF2h9hmuvjE73AZFHqftFueAZtt99uh ukJqD/IT36OaAY1e+0kAHatT79Jl0hJo3NlWCcrqJs8W7A1JAEwRWya4l5nM/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=D3sQ2eEU; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675276366; a=rsa-sha256; cv=none; b=InwRIXjlmdvXeZmYddSCxsViWQXB0WscE0a/rFS/DbX0hAeCeZaTBiWioQSFHD4qj4vVc0 P9CR1/cHOuhw384S4OBDqBE2EjkYM4h3F2xhqnlFeY18EwFxYkSgITV1IQ4mhH5aSTmYV/ TeJKSFhR+Vz7WzsfqInOv9eZOOvRhYWdPNiUT6sYqKO2x9eVdE2oqq0lRk0H3wazJl3i7m Oz55+l9kb7OLWpe6Xy2ssbUUl7lKArdojsYL1ex1lDukeIBQhxsVnU/19FIl09sgU9PdQE uyinIgLBBxy6yVvxiDVi2AXty3GK67FGEtFPSlgxmkWa0K1SO1VYyhFWcOanYA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=D3sQ2eEU; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn0.migadu.com X-Spam-Score: -9.77 X-Migadu-Queue-Id: B362F15BB3 X-Migadu-Spam-Score: -9.77 X-TUID: Nrup/m+TZfgh +CC guix-devel Hello! Ludovic Court=C3=A8s writes: > Hi! > > Maxim Cournoyer skribis: > >> Side topic: I wonder if (with some changes to the daemon -- perhaps in >> DerivationGoal::startBuilder) in nix/libstore/build.cc we could leak the >> COLUMNS variable to be able to control the Guile builder backtrace >> width. > > As a rule of thumb, I think we should keep the build environment > unchanged forever=E2=80=94no changes to the set of environment variables = and > files/directories present in the build environment. > > It=E2=80=99s important because the whole reproducibile-by-construction ap= proach > depends on that. I understand it can be risky to change anything on the builder side for reproducibility. Would you have an idea of the angle this problem should be approached from, where the goal is to have a configurable Guile backtrace width in the builder? --=20 Thanks, Maxim