From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id im5hMb4iAmBQUwAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 23:18:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OBR4LL4iAmCQKQAAbx9fmQ (envelope-from ) for ; Fri, 15 Jan 2021 23:18:22 +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 208FB94038E for ; Fri, 15 Jan 2021 23:18:22 +0000 (UTC) Received: from localhost ([::1]:60158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0YMH-0006WQ-0p for larch@yhetil.org; Fri, 15 Jan 2021 18:18:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0YM1-0006To-Go for guix-devel@gnu.org; Fri, 15 Jan 2021 18:18:05 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0YLw-0006YI-6d for guix-devel@gnu.org; Fri, 15 Jan 2021 18:18:05 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1610752678; cv=none; d=zohomail.com; s=zohoarc; b=WDx752flOqiAOJv/PzSTW9F3E5Yj+Ji3z+99ODQXkuDS+SS6yCOAazhzfoWA3m31KjbQpHI15VVUvVSFeUGq/iMl2ube/AoPpaJGQfbFwp98DdolbjFj4rieUvjPdx1Z7p607DHhZ9+03Xm1Bw0BDkRjE5ec6LMSO0TFLBj2vO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610752678; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=7tjacH7t7ZijzQQLtg/ivXereBdxiTdKjyt1PQ4sLNk=; b=bQ8Euqn+dQE0umisOpt8lE06k5yOzCwoouBJKrxNZDjrVRIYimQECyjalV61gIl7NtcibHDV+5upCZlGRRRzuetWGwI8Is7l+YtqnbbV2JD4Mh6EIO0KfG/kctCJAMwFr+m8NEJU8aaHH4CDa5yGcVltV58vFvHGAZyL7I89nZ8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1610752678; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=7tjacH7t7ZijzQQLtg/ivXereBdxiTdKjyt1PQ4sLNk=; b=c6vGEnWc2PPJLivO8YpYBqjehWc2NYk3DiWiS1v3kCNoKp/xrMR5vxOWp4pACM4y WYUJDMyL0YcGr39nulxtsyHvNxITq+6CnRbojQwi4Z0teOKw/peSdTq1rhqd6XWf2D+ sEx+3LwGURJL6IKt0Fbk+9Ai67qw6RduRCLL2+So= Received: from localhost (p54ad4d0f.dip0.t-ipconnect.de [84.173.77.15]) by mx.zohomail.com with SMTPS id 1610752675813456.37949222991915; Fri, 15 Jan 2021 15:17:55 -0800 (PST) References: <86k0sekkj8.fsf@gmail.com> <87zh1aapzi.fsf@elephly.net> <86eeilly1y.fsf@gmail.com> <87wnwdbzyn.fsf@elephly.net> <87turhbz54.fsf@elephly.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: zimoun Subject: Re: GUIX_EXTENSIONS_PATH error? In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 16 Jan 2021 00:17:53 +0100 Message-ID: <87r1mlbxi6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.54; envelope-from=rekado@elephly.net; helo=sender4-of-o54.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=c6vGEnWc; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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-Migadu-Queue-Id: 208FB94038E X-Spam-Score: -2.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: PvERCl97M1wb zimoun writes: >> I have added a search path specification to the =E2=80=9Cguix=E2=80=9D p= ackage itself, >> so that it will set GUIX_EXTENSIONS_PATH to >> $profile/share/guix/extensions automatically. The idea is to update the >> format of the =E2=80=9Cchannels.scm=E2=80=9D file to allow for the insta= llation of extra >> packages into the =E2=80=9Cguix pull=E2=80=9D profile (by default that= =E2=80=99s >> ~/.config/guix/current). > > ...because yeah that's the aim. :-) Provide extensions as channels. It=E2=80=99s very similar to providing extensions as channels, but without actually using the channel mechanism. Channels are a little different from regular packages. They consist solely of Guile source files, they are not compiled ahead of time but built during =E2=80=9Cguix pull=E2=80=9D= , and they cannot have inputs other than channels. Extensions like the GWL have non-trivial dependencies, which cannot be included when the GWL is treated as a channel. Maybe there=E2=80=99s a way to express channels themselves as regular packa= ges, but I=E2=80=99m not seeing it. So until we can unify this, extensions shou= ld be installed as packages once =E2=80=9Cguix pull=E2=80=9D has finished buildin= g the new Guix (with all its channels). Does this make sense? --=20 Ricardo