From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wH0MC3B6PmPQfgEAbAwnHQ (envelope-from ) for ; Thu, 06 Oct 2022 08:49:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OP8IC3B6PmOAOAAA9RJhRA (envelope-from ) for ; Thu, 06 Oct 2022 08:49:20 +0200 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 E3FBDBACF for ; Thu, 6 Oct 2022 08:49:19 +0200 (CEST) Received: from localhost ([::1]:50240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogKh4-00045v-W3 for larch@yhetil.org; Thu, 06 Oct 2022 02:49:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogKYf-000703-Bu for help-guix@gnu.org; Thu, 06 Oct 2022 02:40:38 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogKYc-0005xt-Vd for help-guix@gnu.org; Thu, 06 Oct 2022 02:40:36 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A91AB4C24D; Thu, 6 Oct 2022 08:40:32 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zRql6PKFX-jk; Thu, 6 Oct 2022 08:40:31 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1665038431; bh=xowBPQmPrhoclLgJld0XBAsWiV2/zQM2sQc7NIK8My4=; h=Date:Subject:From:To:References:In-Reply-To; b=crnoH3zW1FKymHLKjzaWDA2NfaaHiskVWePHVfErHaOcMHw9iTgUszZF2N/7zlcBQ PzBJIoUTCcvPEK/9F9CJ2wXQMgaQHnn8NFUAJaTQED4K3Bzxk8x1525Ak1d512X+Fq b1qDElEaJoZSe9Qrwwtv/RqrJPaKN3+OdpxxMZnoyHDHzjzMNCeUGNO/eUUutK5y7N iVgtc5mqwwL7QRb/wJvuw9EMKskyd9CaFbMsb3Ckeeu3d7Mu65d/mH/cytXbDqFvDM IytaD6GGAyk/AOYy9oKFvijTACUUxOhg3528qoeLteep1C/WkJK0Lcc6XrT3f0MNUT 2b6lzxv8DVdiQ== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 06 Oct 2022 07:40:31 +0100 Message-Id: Subject: Re: debugging %build-inputs From: "(" To: "jgart" , "Guix Help" References: <20221005203508.GC31716@dismail.de> In-Reply-To: <20221005203508.GC31716@dismail.de> Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1665038959; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=PwU14e2Z0vJJ+un6eUZ8axYIGLf3VHIlJM4k9roI8qo=; b=LXMoD3sqjgBUcTKEicnK0s+Bx2Eq0DfMko1MdIjRrxICtLSsQN9KLpkcF6yk830g6j5CGS OAucZpag0m0Kj0+mwwtCmbzxI9ixrtA+D+j92QtQENHeWL2S6FRl8lKqeI480lqNyEPyzo 6fLQ5hvH3hjNCKTopq+vCR7TegY5Z/JQG2Gpa3Jv+AYEEoiJL3G4C4vM8kgGvuyEwcpfsX aTdOrMIE9DQspxJALQTMuj4DqZbzGnRzSTY0QW5ZrQ3bE8CToIueRdkYtfRMWg+kx5fUuL q0+rFo8HkIPZtIsHAiXVNPkEGjra2FO9u/Vx0fGSFU8TJYwgy0gcKN7v+JAV9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665038959; a=rsa-sha256; cv=none; b=UZwnrCvuSQy5P1/umDb18DUGz48E9/YeNBjpJvhReNWjXjwB73kln2sKXUuQvRQdJ6Ci31 BBiHiMfm4WIx1FZ52mXXr3jvOjaAtUAk4TtWLapm8t8QDQZdd741YJAOJoU+vTtWsTDenc A+LLjZKMh6ZlTE0NxXxDg/njXhzzOwJyTfYWtHG9MJ2VGwUBdLcFAzt1kjTc7AittAkZg+ VHock/ikEq920GqNKdWTwifWlOt6o07e0AKtX6T2KzZbMYakn1Jb2VKR5PAV3gblLatw7I qyAfwsY0rU9r1EFCfI4B5DlAWjhJpzo08TZhEpqd6DHMzFm+I6/A62PsT6Y0KA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=crnoH3zW; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=crnoH3zW; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E3FBDBACF X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: NVc1KeNtf8Us On Thu Oct 6, 2022 at 2:35 AM BST, jgart wrote: > (arguments > `(#:configure-flags > (list (string-append "--with-tcl=3D" > (assoc-ref %build-inputs "tcl") > "/lib") ^^^^^^^^^^^^ > (string-append "--with-tk=3D" > (assoc-ref %build-inputs "tk") > "/lib")))) ``%build-inputs'' is an **obsolete** variable that provides an alist of inputs to output paths: `(("gcc" . "/gnu/store/...-gcc-...") ("make" . "/gnu/store/...-make-...") ("tcl" . "/gnu/store/...-tcl-...") ("tk" . "/gnu/store/...-tk-...")) et cetera. So, it should just contain a map of the label of each input to its compiled store path. Usage of ``(assoc-ref %build-inputs LABEL)'' is basically the same as usage of ``#$(this-package-input LABEL)'' or ``#$(this-package-input LABEL)''. Regarding the debugging question: no, I don't believe there is a way to start a REPL in the build environment. -- (