From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 29 02:53:48 2022 Received: (at submit) by debbugs.gnu.org; 29 Jun 2022 06:53:49 +0000 Received: from localhost ([127.0.0.1]:57046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Ra8-0008Em-Gj for submit@debbugs.gnu.org; Wed, 29 Jun 2022 02:53:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:34082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Ra5-0008EZ-Cj for submit@debbugs.gnu.org; Wed, 29 Jun 2022 02:53:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Ra4-00074V-Q0 for guix-patches@gnu.org; Wed, 29 Jun 2022 02:53:45 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Ra2-0008Q8-Oy for guix-patches@gnu.org; Wed, 29 Jun 2022 02:53:44 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8413245A8B; Wed, 29 Jun 2022 08:53:40 +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 UTF8SMTP id pq27NSyJqxUC; Wed, 29 Jun 2022 08:53:39 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656485618; bh=kUAgcP1OKnd+Gj1LGU6Aiey/WzRNGOcdW9zf5wtFzok=; h=From:To:Cc:Subject:Date; b=TOmVsIbFbu8Hxclap6ASTKaB4e8bneWigbxfB4iXk2UppSWUmsBEYpu0oVBUn52iC TDEvuwI1DTxlkQda1Vl2kWeb27pVb2PNFLmm4K0RJse9SXDg/pikcLNYO2bNr0eOyi x/APLWZF9zUKEjoRCNsMbFg48MQ8XhxbCdcoesIY+H/lhnc4bSeagmh/JVHUzulGRP my8k0vd2I9lH4iaJohMP3tfIV+dare+56odbijlPuPen0EGh42tDJphXzWS0FRshdd +s4IjgoqZHdPfJpN/kemntL2p+wrXg0p29ivxLD149Kz5ZibZUSvyg3yJr05osJXQT 2oUbYCM+tv4yg== To: guix-patches@gnu.org Subject: [PATCH] gnu: home: services: shells: Export Fish environment variables. Date: Wed, 29 Jun 2022 07:53:33 +0100 Message-Id: <20220629065333.11191-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 (--) Variables set in the Fish configuration weren't previously being exported. This commit changes `set` to `set -x` to do that. * gnu/home/services/shells.scm (serialize-fish-env-vars): Output the `set -x` command instead of `set`, so that variables get exported. Based-on: d7449142f56cb0b34860f4ac90fc322aee32d177 --- gnu/home/services/shells.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/home/services/shells.scm b/gnu/home/services/shells.scm index fd5a66090d..dda80736b1 100644 --- a/gnu/home/services/shells.scm +++ b/gnu/home/services/shells.scm @@ -555,9 +555,9 @@ (define (serialize-fish-env-vars field-name val) ((key . #f) "") ((key . #t) - #~(string-append "set " #$key "\n")) + #~(string-append "set -x " #$key "\n")) ((key . value) - #~(string-append "set " #$key " " #$value "\n"))) + #~(string-append "set -x " #$key " " #$value "\n"))) val))) (define-configuration home-fish-configuration -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 29 14:49:16 2022 Received: (at control) by debbugs.gnu.org; 29 Jun 2022 18:49:16 +0000 Received: from localhost ([127.0.0.1]:60220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6ckW-00084P-0a for submit@debbugs.gnu.org; Wed, 29 Jun 2022 14:49:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6ckU-00084E-IK for control@debbugs.gnu.org; Wed, 29 Jun 2022 14:49:15 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B381A45AAC for ; Wed, 29 Jun 2022 20:49:12 +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 UTF8SMTP id B5lbD_DJ17dS for ; Wed, 29 Jun 2022 20:49:11 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656528548; bh=5NiVPVGnQ06dUXNa4vO5Fz+SyjUelR5e3r5xPqplUA8=; h=Date:Subject:From:To; b=B3Xw2Sya/q97B8m0a7pKQhnzEpKbgfq3VtUIzhybaz6DVPZ8bJ1vu4eXkFqgc85P7 XeN9uejjemUoLD7CpI9Cu3MMUirDxBiC57tiOwgR+sv4nKDA9FrdrssTVto/pPjMZn Izl0rVpaqe8z3OG7Y9Z+JsgP8yFrXwdWfE/6AB/21VFz4m67EJjgJMcuDbRk99ITzN aNuW7EnRxCuJeuXhl1zdW7v0GuQDgShoiv6OXrt7r8/7r9bHSBRAYISQQevhnC6PLe 5S/LvLZ5HZFQhtWP7222+Zj4Oyy1eJ0V/5Ud2PpHKyAmGfM5Hme1dz1qA9deCdHtMz TAUVFmsZU6HVA== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 29 Jun 2022 19:49:08 +0100 Message-Id: Subject: From: "(" To: X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 56294 thanks -- ( Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 BLANK_SUBJECT Subject is present but empty -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: control 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 (+) close 56294 thanks -- ( From unknown Sat Aug 16 18:45:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 28 Jul 2022 11:24:11 +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