From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 09:13:14 2022 Received: (at submit) by debbugs.gnu.org; 21 Aug 2022 13:13:14 +0000 Received: from localhost ([127.0.0.1]:34048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPklO-0008Nn-Bv for submit@debbugs.gnu.org; Sun, 21 Aug 2022 09:13:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:59816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPklL-0008Ne-1L for submit@debbugs.gnu.org; Sun, 21 Aug 2022 09:13:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPklK-00059Q-OO for guix-patches@gnu.org; Sun, 21 Aug 2022 09:13:10 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPklI-0006ck-LP for guix-patches@gnu.org; Sun, 21 Aug 2022 09:13:10 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B72DE4006B; Sun, 21 Aug 2022 15:13:04 +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 3NrVlN3nSdsz; Sun, 21 Aug 2022 15:13:03 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661087548; bh=J0ih20JPOSwDjEtuN0Ac40f3S4vsO4Z+ym92wls2Zb8=; h=From:To:Cc:Subject:Date; b=WZyfxeTQ/aA+vijztDMsLHvybAZ+PJYyb9qooRfzQEcMph1/M22ob4nEPayFmNjRr OTIlsGmgXB3lxMIVHRWqbQcITkXwle0bJCNqYYauxarXkYfFLZVSoE5Hxff6hr2oPF A9bjkrWO6cUFYJtx1TJsZM9DkC9Sukqw/8Jnzifg/4D89y95r0UitU3nQyR9TyCQvx 3hE3tKrmbE8DYuNdJnw0k4vYsYXn0WoUDgFGaLs6G6Dsyh/KWvwTqokep4wsg/exKj 7IQFo2cfM1J4TndqK4DyK2uJ0nI+/9wcyousZUKJbmSrfUJgT53OPajvo+9B2o1hmu mmkjdWXNLEEXg== To: guix-patches@gnu.org Subject: [PATCH 0/2] Implicitly set GUIX_EXTENSIONS_PATH in profiles. Date: Sun, 21 Aug 2022 14:12:22 +0100 Message-Id: <20220821131222.12411-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "\(" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix! This patchset allows Guix to automatically find extensions installed in profiles. There's probably a more elegant way to do this, but this is the simplest and easiest way I can think of. ( (2): build: profiles: Always set GUIX_EXTENSIONS_PATH. gnu: package-management: Remove mentions of GUIX_EXTENSIONS_PATH. gnu/packages/package-management.scm | 11 +---------- guix/build/profiles.scm | 4 ++++ 2 files changed, 5 insertions(+), 10 deletions(-) -- 2.37.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 09:16:34 2022 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 13:16:34 +0000 Received: from localhost ([127.0.0.1]:34059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPkoc-0008UF-6U for submit@debbugs.gnu.org; Sun, 21 Aug 2022 09:16:34 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPkoa-0008U1-Bp for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 09:16:32 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B6FCB4008C; Sun, 21 Aug 2022 15:16:31 +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 XnXvtrJs7NZz; Sun, 21 Aug 2022 15:16:30 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661087790; bh=+NjRLX65xVPThGb0VoZ/NPMGrxnnYc66NKF+U4FYuHU=; h=From:To:Cc:Subject:Date; b=TCm4qWbIrtqFrloP3ry+yYyG2eSPGpSbcmwSujYpUeqN4pCofh/kenGqLF2SzaYkU QQAw2oEuS51m9nQF0IBrhnixFexLa5IDqNKXpl1muErSfcclZ5y9CDcOXMZCSjxarH eFY0KXDDy8C1W82PalcluMn7uo9eklRyi+s3qllF2EfqbtX1Xnq+Imap1fTiAtxWei 0Vmkx1/QGNhf/Sr+Dg5QKauyQUEdmAXgnOyUBAYSGCd2qOzCAMK4U0JU+k93iaJpVT 0n7Mj/TpfEOxCeoNRqmeADP/t+3Q+3aQGPHlmEziAbj98TYt3PMiUv5fEnVMhTUvvS dXu/mKLDzoxdw== To: 57317@debbugs.gnu.org Subject: [PATCH 1/2] build: profiles: Always set GUIX_EXTENSIONS_PATH. Date: Sun, 21 Aug 2022 14:16:27 +0100 Message-Id: <20220821131628.12592-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57317 Cc: "\(" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/build/profiles.scm (build-etc/profile): Implicitly set GUIX_EXTENSIONS_PATH to ${GUIX_PROFILE}/share/guix/extensions. This allows Guix to find extensions without any need for users to set GUIX_EXTENSIONS_PATH manually. --- guix/build/profiles.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guix/build/profiles.scm b/guix/build/profiles.scm index 0c92f222b4..f8b2e72d9c 100644 --- a/guix/build/profiles.scm +++ b/guix/build/profiles.scm @@ -97,6 +97,10 @@ (define file # When GUIX_PROFILE is undefined, the various environment variables refer # to this specific profile generation. \n" port) + (format port "~a~%" (environment-variable-definition + "GUIX_EXTENSIONS_PATH" + (string-append output "/share/guix/extensions") + #:kind 'prefix)) (let ((variables (evaluate-search-paths search-paths (list output)))) (for-each (write-environment-variable-definition port) -- 2.37.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 09:16:34 2022 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 13:16:34 +0000 Received: from localhost ([127.0.0.1]:34061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPkoc-0008UI-G2 for submit@debbugs.gnu.org; Sun, 21 Aug 2022 09:16:34 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPkoa-0008U3-K5 for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 09:16:33 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 00D7D4007C; Sun, 21 Aug 2022 15:16: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 umhWbYyeP0DZ; Sun, 21 Aug 2022 15:16:31 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661087791; bh=amIHnHCB/Wx32axheV8J7VORvxzXlkv4dACqKydzFEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=j+Pd90iwdEyI67ejs/NzbTL+AxNQBi3ipm2/lYhpE137h6aRSLUWyWr6SSyHlAMeg +zFWp7m8CVFfx+mttdYn8XnV0zPF5bwJnE6qspn9Jq8oYSHKKPRS4QPwFo8dNFbRkL 9CIEx7z3AVHmXb5wA2+Knz3sxC9VqsCHLEU2SCcl4z4CEf77Cr3lWkidJ+2uuC3aYR MFmSOx0BCATGsN1weIfE17kkXbNOz7pa9FPwbDcfbG38fOuCmvuJwj8GeqM0oKyq1y qRLAtWfduFHpT23DW5AIBrqNuF4olDtcXecdeiW4U674LrV2RBgqMTgeBWJYIA0Xb2 I2O+Oi6RtLY/g== To: 57317@debbugs.gnu.org Subject: [PATCH 2/2] gnu: package-management: Remove mentions of GUIX_EXTENSIONS_PATH. Date: Sun, 21 Aug 2022 14:16:28 +0100 Message-Id: <20220821131628.12592-2-paren@disroot.org> In-Reply-To: <20220821131628.12592-1-paren@disroot.org> References: <20220821131628.12592-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57317 Cc: "\(" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/package-management.scm (guix-modules)[description]: Remove instructions to set GUIX_EXTENSIONS_PATH. --- gnu/packages/package-management.scm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 0469c73ff5..a4b0905b1b 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -726,16 +726,7 @@ (define-public guix-modules module} command. The @command{guix module create} sub-command creates @dfn{environment modules}, allowing you to manipulate software environments with the @command{module} command commonly found on @acronym{HPC, -high-performance computing} clusters. - -To use this extension, set the @env{GUIX_EXTENSIONS_PATH} environment -variable, along these lines: - -@example -export GUIX_EXTENSIONS_PATH=\"$HOME/.guix-profile/share/guix/extensions\" -@end example - -Replace @code{$HOME/.guix-profile} with the appropriate profile.") +high-performance computing} clusters.") (license license:gpl3+))) -- 2.37.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 11:44:05 2022 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 15:44:05 +0000 Received: from localhost ([127.0.0.1]:36604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPn7M-0004ct-Q4 for submit@debbugs.gnu.org; Sun, 21 Aug 2022 11:44:05 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPn7L-0004cl-3Z for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 11:44:03 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E8B974006C; Sun, 21 Aug 2022 17:44:01 +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 f1lxoMERVkbR; Sun, 21 Aug 2022 17:44:00 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661096638; bh=h5MY1Skb1gl4bNdkyST+q9Z5IIEqH74xPVQqBgEVRSQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JBjQEo9qAzMKkMZlf0jahMJbpBOcZgS3m1Z29Ul6eV8F0KAYPnT3WpD4ug6Qll2E5 lBZ8G2mNFsshGu7LnWmtbYJrXeMpHXTbQpTVwg6//vClpF6emgoOLtaL52+oBSoPe9 L54Hzn2zmb9Z5FYasvzuoWabKawwKdM/fbywxvs5tizfWQuPdWzY8jBrvHoA3M427L Q2M3YibZxmpdVFCMGiEj4mm4pAjPGPBXVDNwjd6WzlzsVWpdPX1FX9Y0ZEnPpuVZyd nJ0mSGuYmko117S7rWAPOUqyzSpUHwaJ8JKrBlOzQsYMnWcl4h81EVMOfoZxMbh9y+ NJguL0YaTetkg== To: 57317@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: package-management: Remove mentions of GUIX_EXTENSIONS_PATH. Date: Sun, 21 Aug 2022 16:43:49 +0100 Message-Id: <20220821154349.22575-2-paren@disroot.org> In-Reply-To: <20220821154349.22575-1-paren@disroot.org> References: <20220821154349.22575-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57317 Cc: "\(" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/package-management.scm (guix)[native-search-paths]: Remove GUIX_EXTENSIONS_PATH. (guix-modules)[description]: Remove instructions to set GUIX_EXTENSIONS_PATH. --- gnu/packages/package-management.scm | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 0469c73ff5..ec133a15dd 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -477,10 +477,7 @@ (define code ("guile-lzlib" ,guile-lzlib) ("guile-zstd" ,guile-zstd))) (native-search-paths - (list (search-path-specification - (variable "GUIX_EXTENSIONS_PATH") - (files '("share/guix/extensions"))) - ;; (guix git) and (guix build download) honor this variable whose + (list ;; (guix git) and (guix build download) honor this variable whose ;; name comes from OpenSSL. $SSL_CERT_DIR)) (home-page "https://www.gnu.org/software/guix/") @@ -726,16 +723,7 @@ (define-public guix-modules module} command. The @command{guix module create} sub-command creates @dfn{environment modules}, allowing you to manipulate software environments with the @command{module} command commonly found on @acronym{HPC, -high-performance computing} clusters. - -To use this extension, set the @env{GUIX_EXTENSIONS_PATH} environment -variable, along these lines: - -@example -export GUIX_EXTENSIONS_PATH=\"$HOME/.guix-profile/share/guix/extensions\" -@end example - -Replace @code{$HOME/.guix-profile} with the appropriate profile.") +high-performance computing} clusters.") (license license:gpl3+))) -- 2.37.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 11:44:08 2022 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 15:44:08 +0000 Received: from localhost ([127.0.0.1]:36606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPn7Q-0004d8-39 for submit@debbugs.gnu.org; Sun, 21 Aug 2022 11:44:08 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPn7L-0004cX-55 for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 11:44:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A7DF640078; Sun, 21 Aug 2022 17:44:01 +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 A0n7h969ayGV; Sun, 21 Aug 2022 17:44:00 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661096638; bh=80i6CoqDLY4n76IiImXME1nEIjO0k18vrYUJ8hwQ2R8=; h=From:To:Cc:Subject:Date; b=SBAEzCzpziatcqSScYucJUtbMoAAsytCqUigWc5X2xL+QKBMCX5/UF0IszRJppo/R f4C1FQDHAHz+CAtdKWb0UiD/ETPMX3XbcIrZByrt59zL2zcEhEZv6N0RCfRd04kt6p GCs3r6kqbrFqY+rbbbFD+GE4bA46lJzViyVwCsBGpwti52zH6E9qQpEPNPPcxjYKDc lEi2nC4DxpEy5lrBcoUPLAMc7at3R2OJFhgNr6W/s1RC5YfGe/EoTx+MyrD6oOJrvd 6YYoLlxzdfcSKo6Y9M/LXvbmckG0A7Td5UTqJo6+lHGHSAUN+l01DvVRODkkGudGeZ wXqVszzaLj/ww== To: 57317@debbugs.gnu.org Subject: [PATCH v2 1/2] build: profiles: Implicitly set GUIX_EXTENSIONS_PATH. Date: Sun, 21 Aug 2022 16:43:48 +0100 Message-Id: <20220821154349.22575-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57317 Cc: "\(" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/build/profiles.scm (manifest-sexp->inputs+search-paths): Always return a search path for GUIX_EXTENSIONS_PATH. * guix/search-paths.scm ($GUIX_EXTENSIONS_PATH): New variable. This allows Guix to find extensions without any need for users to set GUIX_EXTENSIONS_PATH manually. --- guix/build/profiles.scm | 7 ++++--- guix/search-paths.scm | 11 +++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/guix/build/profiles.scm b/guix/build/profiles.scm index 0c92f222b4..b19d93f971 100644 --- a/guix/build/profiles.scm +++ b/guix/build/profiles.scm @@ -179,9 +179,10 @@ (define-syntax let-fields (() (values (reverse inputs) (delete-duplicates - (cons $PATH - (map sexp->search-path-specification - (reverse search-paths))))))))))) + (cons* $PATH + $GUIX_EXTENSIONS_PATH + (map sexp->search-path-specification + (reverse search-paths))))))))))) (define* (build-profile output manifest #:key (extra-inputs '()) (symlink symlink)) diff --git a/guix/search-paths.scm b/guix/search-paths.scm index 6b13a98946..5a0cddac8f 100644 --- a/guix/search-paths.scm +++ b/guix/search-paths.scm @@ -33,6 +33,7 @@ (define-module (guix search-paths) search-path-specification-file-pattern $PATH + $GUIX_EXTENSIONS_PATH $SSL_CERT_DIR $SSL_CERT_FILE @@ -73,6 +74,16 @@ (define $PATH (variable "PATH") (files '("bin" "sbin")))) +(define-public $GUIX_EXTENSIONS_PATH + ;; 'GUIX_EXTENSIONS_PATH' is used by Guix to locate extension commands. + ;; Like 'PATH', it's not attached to any package, so that users don't have + ;; to install the 'guix' package (which is not supposed to be installed, + ;; as it will mess up the 'guix pull' installation) or set the variable + ;; manually. + (search-path-specification + (variable "GUIX_EXTENSIONS_PATH") + (files '("share/guix/extensions")))) + ;; Two variables for certificates (see (guix)X.509 Certificates), ;; respected by 'openssl', possibly GnuTLS in the future ;; (https://gitlab.com/gnutls/gnutls/-/merge_requests/1541) -- 2.37.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 15:38:20 2022 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 19:38:20 +0000 Received: from localhost ([127.0.0.1]:36843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPqm3-0000Eb-TW for submit@debbugs.gnu.org; Sun, 21 Aug 2022 15:38:20 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:42940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPqlx-0000E8-22 for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 15:38:14 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by baptiste.telenet-ops.be with bizsmtp id AKe92800N20ykKC01Ke9bg; Sun, 21 Aug 2022 21:38:11 +0200 Message-ID: <4b1e429e-2952-22e5-0e25-78ebbdac5422@telenet.be> Date: Sun, 21 Aug 2022 21:38:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US To: "(" , 57317@debbugs.gnu.org References: <20220821131222.12411-1-paren@disroot.org> <20220821154349.22575-1-paren@disroot.org> From: Maxime Devos Subject: Re: [bug#57317] [PATCH v2 1/2] build: profiles: Implicitly set GUIX_EXTENSIONS_PATH. In-Reply-To: <20220821154349.22575-1-paren@disroot.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------v0QkhlZI0x4I0PcQKjT0Nilz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1661110691; bh=/10QcpGv3mG99jZenVBTQ1nh0wCMmVrw5qBSttnusLI=; h=Date:To:References:From:Subject:In-Reply-To; b=CIiqm/iBRS/B+cxPxk944LvtotmRDh8Lqss0X6ixPuS9pUbWpFQTq+++Zap8S9lSL 3l27/eoUVuKJOcf6boGqCcH2wsWf82O6m2HNx7SmfgkK4JDQiYIwETg21/AF2w6kVs fYKbWe1qODFgdNxfY88bA81TTEfc+G7E21L/k4MUdD4QC0c/LxFgYn1RSnAAOyoaoE u0yUh5nSQXIS5WSPVribMsxXcOgGAH+LxHfFPoj3Cc/wyX3l/IJNGVspXEX782ay7F GVliW+QNZLdPQUqqhvhAHlkih2RjEPe6b+HYXYSfsWdLykHJVjvOz/AnpYVU9O8rH7 Zi3td8BGaL9HA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 57317 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------v0QkhlZI0x4I0PcQKjT0Nilz Content-Type: multipart/mixed; boundary="------------Y6W3LpLjs5ZyOcMLm4Ki00mL"; protected-headers="v1" From: Maxime Devos To: "(" , 57317@debbugs.gnu.org Message-ID: <4b1e429e-2952-22e5-0e25-78ebbdac5422@telenet.be> Subject: Re: [bug#57317] [PATCH v2 1/2] build: profiles: Implicitly set GUIX_EXTENSIONS_PATH. References: <20220821131222.12411-1-paren@disroot.org> <20220821154349.22575-1-paren@disroot.org> In-Reply-To: <20220821154349.22575-1-paren@disroot.org> --------------Y6W3LpLjs5ZyOcMLm4Ki00mL Content-Type: multipart/mixed; boundary="------------e4dJUM1gzjpJX2q7jHgBNB0N" --------------e4dJUM1gzjpJX2q7jHgBNB0N Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjEtMDgtMjAyMiAxNzo0MywgKCB2aWEgR3VpeC1wYXRjaGVzIHZpYSB3cm90ZToNCg0K PiAgIA0KPiArKGRlZmluZS1wdWJsaWMgJEdVSVhfRVhURU5TSU9OU19QQVRIDQo+ICsgIDs7 ICdHVUlYX0VYVEVOU0lPTlNfUEFUSCcgaXMgdXNlZCBieSBHdWl4IHRvIGxvY2F0ZSBleHRl bnNpb24gY29tbWFuZHMuDQo+ICsgIDs7IExpa2UgJ1BBVEgnLCBpdCdzIG5vdCBhdHRhY2hl ZCB0byBhbnkgcGFja2FnZSwgc28gdGhhdCB1c2VycyBkb24ndCBoYXZlDQo+ICsgIDs7IHRv IGluc3RhbGwgdGhlICdndWl4JyBwYWNrYWdlICh3aGljaCBpcyBub3Qgc3VwcG9zZWQgdG8g YmUgaW5zdGFsbGVkLA0KPiArICA7OyBhcyBpdCB3aWxsIG1lc3MgdXAgdGhlICdndWl4IHB1 bGwnIGluc3RhbGxhdGlvbikgb3Igc2V0IHRoZSB2YXJpYWJsZQ0KPiArICA7OyBtYW51YWxs eS4NCj4gKyAgKHNlYXJjaC1wYXRoLXNwZWNpZmljYXRpb24NCj4gKyAgICh2YXJpYWJsZSAi R1VJWF9FWFRFTlNJT05TX1BBVEgiKQ0KPiArICAgKGZpbGVzICcoInNoYXJlL2d1aXgvZXh0 ZW5zaW9ucyIpKSkpDQoNCkkgaGF2ZSBpbiB0aGUgcGFzdCBwcm9wb3NlZCB0byBhZGQgbW9y ZSBpbXBsaWNpdCBzZWFyY2ggcGF0aHMgDQooR1VJWF9MT0NQQVRILCBTU0xfQ0VSVF9ESVIg YW5kIFNTTF9DRVJUX0ZJTEUpLCBidXQgdGhhdCBoYWQgYmVlbiByZWplY3RlZC4NCg0KdjEg LT4gdjIgMS8yOiBsb29rcyBhIGdvb2QgY2hhbmdlIHRvIG1lLg0KDQpHcmVldGluZ3MsDQpN YXhpbWUuDQoNCg== --------------e4dJUM1gzjpJX2q7jHgBNB0N Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------e4dJUM1gzjpJX2q7jHgBNB0N-- --------------Y6W3LpLjs5ZyOcMLm4Ki00mL-- --------------v0QkhlZI0x4I0PcQKjT0Nilz Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYwKJoQUDAAAAAAAKCRBJ4+4iGRcl7ttu AQD7LVp2JeJHiSdIDALEscn46poWys58pffWJnQRAfY/zgD/b4f/ORVcJVK+ryeOiZDkozYK+kHH 4sgA3DNrx/SwNQc= =xCKh -----END PGP SIGNATURE----- --------------v0QkhlZI0x4I0PcQKjT0Nilz-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 15:46:02 2022 Received: (at 57317) by debbugs.gnu.org; 21 Aug 2022 19:46:02 +0000 Received: from localhost ([127.0.0.1]:36848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPqtV-0000Q4-TM for submit@debbugs.gnu.org; Sun, 21 Aug 2022 15:46:02 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPqtQ-0000Pq-Fo for 57317@debbugs.gnu.org; Sun, 21 Aug 2022 15:46:00 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1661111150; cv=none; d=zohomail.com; s=zohoarc; b=a144AYIqzPc2OeyZXbZND0QX0UdBx93yLvU7iP2MBReOj9sBP9bHcyv+vxsbHpNl7AsoeOZv29a1VwSZp4gAyzhxdqt0GGngcPLK7x7n9fGniHsiZ2ABcaxtoZIrqoBv6mEoM9TOrb/9LrayqPveAzW8HVUohsYc3ctNvHgP1Mo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661111150; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=vQXI/LsDNZvkZ1PErUwKMYT8ukCiIxZB6JXG5Jiq81k=; b=Fx1kR+wDNFODu6LUA9V2TzY9G74Hey6Le+gzdolSM12AKWFLahPcnUUM2I8V4CrCri48gt0he4nBGrLadsHcn+F4oG+vDMMTacyVicODMWpFycrVeAv/TSSHiBA/s+ituH4/8aqFBF5hEZNozLpcekpiFRJ3jua+lgoBXkvWXeI= 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= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1661111150; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=vQXI/LsDNZvkZ1PErUwKMYT8ukCiIxZB6JXG5Jiq81k=; b=i2s2tmwQgUVgQ/JllaWihSb2zmsm2GWMhL2VHfS/MA9I7xCZjS3gRoYKHzDsX+fR WYI6qYdO9OpN8nen5zC0m3np2mFiyKS6A5tbQjlr54Wm+3pPnlp6goSKMVgyLnu2o6B 7LpC2LnEeEcRockQ/7Osdy8awPAu7va2kVPBExhk= Received: from localhost (i5E862DA0.versanet.de [94.134.45.160]) by mx.zohomail.com with SMTPS id 1661111147896900.2767766109747; Sun, 21 Aug 2022 12:45:47 -0700 (PDT) User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus To: 57317@debbugs.gnu.org Subject: [PATCH 0/2] Implicitly set GUIX_EXTENSIONS_PATH in profiles. Date: Sun, 21 Aug 2022 21:41:41 +0200 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 Message-ID: <87v8ql1itz.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57317 Cc: GNU Guix maintainers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I agree with Maxime: this looks good, and I also think that other variables could be set unconditionally. Yes, it=E2=80=99s a little inelegant to set environment variables like this= , but for GUIX_EXTENSIONS_PATH I think it=E2=80=99s warranted, because Guix is sp= ecial anyway. So +1 from me. I=E2=80=99m CC=E2=80=99ing the maintainers to perhaps get a comment on the = general approach for the record. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 22 05:24:16 2022 Received: (at 57317) by debbugs.gnu.org; 22 Aug 2022 09:24:16 +0000 Received: from localhost ([127.0.0.1]:37821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3fM-0005BL-3a for submit@debbugs.gnu.org; Mon, 22 Aug 2022 05:24:16 -0400 Received: from flashner.co.il ([178.62.234.194]:45246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3fI-0005B2-RF for 57317@debbugs.gnu.org; Mon, 22 Aug 2022 05:24:14 -0400 Received: from localhost (unknown [31.210.177.64]) by flashner.co.il (Postfix) with ESMTPSA id AEBDC40160; Mon, 22 Aug 2022 09:24:06 +0000 (UTC) Date: Mon, 22 Aug 2022 12:20:35 +0300 From: Efraim Flashner To: Ricardo Wurmus Subject: Re: [bug#57317] [PATCH 0/2] Implicitly set GUIX_EXTENSIONS_PATH in profiles. Message-ID: Mail-Followup-To: Ricardo Wurmus , 57317@debbugs.gnu.org, GNU Guix maintainers References: <20220821131222.12411-1-paren@disroot.org> <87v8ql1itz.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v9AxkE8FCxbzNVTt" Content-Disposition: inline In-Reply-To: <87v8ql1itz.fsf@elephly.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57317 Cc: 57317@debbugs.gnu.org, GNU Guix maintainers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --v9AxkE8FCxbzNVTt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 21, 2022 at 09:41:41PM +0200, Ricardo Wurmus wrote: > I agree with Maxime: this looks good, and I also think that other > variables could be set unconditionally. >=20 > Yes, it=E2=80=99s a little inelegant to set environment variables like th= is, but > for GUIX_EXTENSIONS_PATH I think it=E2=80=99s warranted, because Guix is = special > anyway. >=20 > So +1 from me. >=20 > I=E2=80=99m CC=E2=80=99ing the maintainers to perhaps get a comment on th= e general > approach for the record. >=20 Not with my maintainer hat on: I tried to create an extension a while ago and it wasn't entirely clear to me how to force loading extensions correctly when testing from a guix environment. By removing the notes about setting GUIX_EXTENSION_PATH to ~/.guix-profile/... we allow Guix to use actual search paths like we do with other environment variables so we can use it with guix-home or other alternate profiles, such as the OS config. I took a minute to look at my extension; I had to set GUIX_EXTENSION_PATH to an absolute location, not a relative one. Normally we'd tell people they have to install a package to make use of it's search paths, like reminding people to add python to their shell invocation, not just python-pip. In this case we DON'T want people installing the guix package, so we need to make the environment variable available another way. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --v9AxkE8FCxbzNVTt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmMDSmAACgkQQarn3Mo9 g1GuixAAkut6lKv7iBMTCG75mtzWLcQgiZ4pyG2RlHynkmpwwY22gk/FOa/98AXz D0XO3vMr3tM8KIl5akEP/ASKsp2vEdRDyKVRQNk5o3PCKNk+MjJnWqbLPc2K7GSt RxrEFQOjm0+T0eyo326ddHoRe0TfCPbk/WeZY/m28E+OxckWoCqc8LclLE4JCu3J r1XsI/+N1fDM6nk7o0/HJ9W0e+3RB2cSZprc9hu4nIt2iSSFhrcEH3iHF+lD6ceg ff9UPN2RIfzYbTOTS4gx1Fw47Yp8M6MmvTICr6WS8eQSfuse8iyq7bV83k1MniLT 3vZbA8CvxAa1irtvGRo7tEUmDE6atam1Oaauu67gC9zyoYlN70m9BtEPUzK0Y+LZ tqftWk8YhOObG8KFcVcbZiGryGvGpfv8MptHQfVZwxl8FOqarXPCRaSfeawpFx6R wAkYdt6L45XPzapdtx7Iu8iwUvWDlQhqSKUP0BZCAwXzEt843taDZc1OI/Ot7ywQ 6VfTUCiMnQNMqGv0ZHXWQE2w91e7DdK3aZrquL9uo3L7ZeyODlLsTsTem2yEgWx2 RQNEwvvtcLR4Uhmfti+gUBWxc1qtThfu3HWVv1FuZOXF0AAiNY4SkVse82Zxr4E4 k7/Kj5dnG7NJyh1NlRwIrAX1f7F8yErKqGjNhX6NVYQtRdRezvU= =F2cL -----END PGP SIGNATURE----- --v9AxkE8FCxbzNVTt-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 07 04:46:13 2022 Received: (at 57317-done) by debbugs.gnu.org; 7 Sep 2022 08:46:13 +0000 Received: from localhost ([127.0.0.1]:53363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVqhJ-0002Lv-Dv for submit@debbugs.gnu.org; Wed, 07 Sep 2022 04:46:13 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:51741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVqhH-0002Lh-By for 57317-done@debbugs.gnu.org; Wed, 07 Sep 2022 04:46:11 -0400 Received: by mail-wm1-f43.google.com with SMTP id ay12so8337935wmb.1 for <57317-done@debbugs.gnu.org>; Wed, 07 Sep 2022 01:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date; bh=rCvKutQRJuA0ABf6BqOftoeGGbi/6T9uq2f8RtDReZ0=; b=a8MlgsD+Yo+1NHjlvKk9IDy7PvplUNaVmclzU3/GWyMoJ6IGHc2Ks+eQFSl/sCj0D/ Mtu1Ar10tSuYe3mkF9U2ni4p4Lbkb6Fa5FnpkxKQ7rFTYuud2ubvH72MPse9UAdjKWG4 5qamIx6kMdcH8jKl6YDxyJf3LyDcuG5DwO9xTKgtw01z3DVVM7azzgBr9G9QTIGYJ0wT c6VUM/6lLzfcCCL957DGpiY9MHii+Y9oZLrU/05P1L+MJegiN7pkmpoGkmE4xBQlZH9O DrPn5POyTHQYDKqmuNqeup/fds0Hg/fd4Qsu1TqkfPWZs0S7pQfXMdjwsGZ81jKn+VKl 6/AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date; bh=rCvKutQRJuA0ABf6BqOftoeGGbi/6T9uq2f8RtDReZ0=; b=4oOqhlkjWsEm9oijfZh6NpO2d7g+Vq+UlDRJDPYFFZrOrUiUtbPfFdX73aPG/12qtu JDPObJa62r9vJhvhNo8F11E0IZo6PKt1UuriNJNgMXJR2dd2oY3JisF5XJrW0nkqIiuj ejOH0DZqnPscmTdRquVyx1NGwZqkFnOaQWhHbmT8BVipaTew8YFBuCCimwPL6G4jiBRi QFWTdwLyh6zC+/cNwp6wjGKsFuE0azPDvq4AD8Ax2JDBbaw/1ssj7b0Ynae5a2oztkCS TaxIx0vVttfJj9olS7s0t+w4YDj7LlurQ2QeFVooFG2BmDtvGFJlp1iYpQHT9M1jBVwB azzA== X-Gm-Message-State: ACgBeo2i3x+aT2bJeV3c81CbzoWhGp9xywxoBF3XSo8unX40KkPJ045S hyqPwkeCA1Ic/vU7VnB909o= X-Google-Smtp-Source: AA6agR7CorwRmeB7q2uzH51nmMJAnNtKbzCsnreRwM0v2fMX3VkC/4tyngtV1NUo0KdI7K6LBPctzw== X-Received: by 2002:a7b:ca48:0:b0:3a6:2932:c16b with SMTP id m8-20020a7bca48000000b003a62932c16bmr1292907wml.140.1662540364337; Wed, 07 Sep 2022 01:46:04 -0700 (PDT) Received: from localhost ([141.226.13.1]) by smtp.gmail.com with ESMTPSA id h21-20020a05600c351500b003a502c23f2asm26424957wmq.16.2022.09.07.01.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 01:46:03 -0700 (PDT) Date: Wed, 7 Sep 2022 11:46:00 +0300 From: Efraim Flashner To: "(" Subject: Re: [bug#57317] [PATCH 0/2] Implicitly set GUIX_EXTENSIONS_PATH in profiles. Message-ID: Mail-Followup-To: Efraim Flashner , "(" , 57317-done@debbugs.gnu.org References: <20220821131222.12411-1-paren@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5Ev42GgaCYeT+2u7" Content-Disposition: inline In-Reply-To: <20220821131222.12411-1-paren@disroot.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 57317-done Cc: 57317-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --5Ev42GgaCYeT+2u7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 21, 2022 at 02:12:22PM +0100, ( via Guix-patches via wrote: > Hi Guix! >=20 > This patchset allows Guix to automatically find extensions installed > in profiles. There's probably a more elegant way to do this, but this > is the simplest and easiest way I can think of. >=20 > ( (2): > build: profiles: Always set GUIX_EXTENSIONS_PATH. > gnu: package-management: Remove mentions of GUIX_EXTENSIONS_PATH. >=20 > gnu/packages/package-management.scm | 11 +---------- > guix/build/profiles.scm | 4 ++++ > 2 files changed, 5 insertions(+), 10 deletions(-) >=20 I pushed the first patch from the second set to always set GUIX_EXTENSIONS_PATH and the second patch from the first set, which only modifies guix-modules but not the guix package itself. I'm pretty sure that Guix still needs the search path for the extensions. As a side note, should something be added to guix shell/environment so it finds the extensions too? Thanks for the patches! Now it should be easier to add extensions. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --5Ev42GgaCYeT+2u7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmMYWkgACgkQQarn3Mo9 g1H9dg//QLHWbclQ4V3QYsti1YLFmxRvfPJIACXHgBb5uaJ3CivT2tkyn/1Ha/ol IiHu05TpycVFmlYg1dFupIvslzgUaWNFV5SN/7hDQkf7/zcygjfAPGsKzVeCF5/i yptJa7zafTdeCICULVpa9WPs+3fWpj0GquxI0PgvgiLyhZB/cTek5qOG37K+zX9z Af73bta2/yst0sEtCcFGM0AScgl5z2bI4UcAMN9Cw6pCf9faLMGJv8K1ZRYSUlAB v21TD1J2pgRSjn1JfG1hv2agCXdzKGfnr5Nr8Wqn9zY3ftg3GiOa/9Of0DILNksq UwLyuojhxXmn4WNRG0M5MlNr0PTeDmd5Yqee3o1lEkd+PjSuGHt8iGuVYt87c6jH YI1tWb77h0SZfBfmu0hrl9EIBW7C5HUZLwUOhc8xQEjHcs+cy+M0LCmhSOMA7XRv WPwpEIYOTJI51Mdbq+rtXFx02+RCRGpSubPlfGZvFbrI9kxL4a8qptXtSeGK6AL1 Nr+LcFahHy0sdelXAeDOingm2J7iRyEEjQazyOgzS1+PI0Xv1bpyeggAU7NX0qa3 ujgAG8UPJWZ6A2g4epAJmsoFQz6sMfO24lZJFvGrfsaTf4Cpdqj6HGriNBAPyXhS fsIWsoOXq3zrPElliXFXvSjeM7oFgTfDownQhWRuVwjbcFp5J1Y= =allS -----END PGP SIGNATURE----- --5Ev42GgaCYeT+2u7-- From unknown Mon Aug 18 11:31:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Oct 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator