From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GNiYJt2QWF86agAA0tVLHw (envelope-from ) for ; Wed, 09 Sep 2020 08:22:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wIekIt2QWF9nEQAA1q6Kng (envelope-from ) for ; Wed, 09 Sep 2020 08:22:53 +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 EF2FA940630 for ; Wed, 9 Sep 2020 08:22:52 +0000 (UTC) Received: from localhost ([::1]:56152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFvNT-0000Z9-S7 for larch@yhetil.org; Wed, 09 Sep 2020 04:22:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFvKo-00054X-4s for guix-devel@gnu.org; Wed, 09 Sep 2020 04:20:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFvKl-00042G-Kq for guix-devel@gnu.org; Wed, 09 Sep 2020 04:20:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1BA5B2400FB for ; Wed, 9 Sep 2020 10:19:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599639600; bh=S918Lhxx67fL5iZXTm/L4291sDj5Ikc/cMmNOgyl6Zc=; h=From:To:Subject:Date:From; b=d6tpM+wdInXxjjW36P5DZ3nBbHfUH6+ZdiIPpELdEl+L71g3ObRDO3N2SgALfiDRR tf1ucvJh3yVfhtjzAFk4h4I/cZhoLzURe8hnI/MNx1eNhcy80uNt2VO7+VBtmNvaqf bWQzqFOWig0NpElvDrTcS/OijtXuM1hXf3hJbS9Pl6BI8S5NK3QLJxaqG928tlilrA VreVwqFlz/YMUQEtOIREzhlgzPBMOPPVfE1xHoM3uyG/HXySPB73BTGqWoySuUTtAf f4apxYbXmFa9eg2DKvG+a3s19oIu0P6b1M9lwDhklOHzKoMA3Z2AF68I8RAB0Mo6SY yjyHLAjfhYU2g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BmZgz2X0Vz6tmG for ; Wed, 9 Sep 2020 10:19:59 +0200 (CEST) User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant To: guix-devel@gnu.org Subject: Profile hook in build environment? Date: Wed, 09 Sep 2020 10:19:47 +0200 Message-ID: <878sdjfjks.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/09 04:20:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=d6tpM+wd; dmarc=pass (policy=none) header.from=posteo.net; 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: -2.31 X-TUID: MTUgUhKW8bFx --=-=-= Content-Type: text/plain Hi, I'm currently experimenting with modifications of the asdf-build-system to see if it can be simplified. I tried adding a profile hook that creates the ASDF configuration files in 'etc/common-lisp/' based on the lisp packages that are present in the manifest. When using 'guix environment -C --ad-hoc sbcl-lift' for example, the configuration files are created and contain the right paths for the sources and compiled files of sbcl-lift, which allows sbcl to find and load the library. However, when building a package depending on sbcl-lift, for example with 'guix build sbcl-trivial-backtrace', sbcl fails to find sbcl-lift. So it seems that the build environment created by 'guix build' doesn't run profile hooks, and the ASDF configuration files are missing. Is there a way to generate files and add them to the environment created by 'guix build' as it can be done with profile hooks? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX1iQIw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/j6AEApI+JGjqphMSul31a2AYTwP2UmJq9aql6tWDR 7isC4hMA/AjzW1X8AQfQGh7o+hQAF/eEoil94Ie7yRB1y8A6FDfQ =JaRb -----END PGP SIGNATURE----- --=-=-=--