From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0Fk9OWlwOmV7hgAA9RJhRA:P1 (envelope-from ) for ; Thu, 26 Oct 2023 15:58:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0Fk9OWlwOmV7hgAA9RJhRA (envelope-from ) for ; Thu, 26 Oct 2023 15:58:02 +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 69D5C42754 for ; Thu, 26 Oct 2023 15:58:01 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=unstable.horse (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698328681; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=aL+Bfx8cUOGt1WSwXONfTDCtflaDCjTMQq56jpgSUZw=; b=X5+8hs+iNoF70vRFm5854cjXzvyfmYcN06PmT6wM+b/QMQH4HrPLwgVliCdwaFj8SKhw2b x6xVHeLTfSny1Rw3RU6Wy3oNxZOz9cWkbfNwQknEsWKOkrSdgY2kEt8SnBtjtQoOHq2iQF uA6bxRVv9yJ45/VxsFTrHuxM9fq/o9458RvNlOFV9CFecm3lz47iMbFCgjYYkwvE8KCFgQ McYehICi04909CbNBgCJUbhGrpMAVZ7vLNGGcYPdubD/bNpZSgXi5de1biGmg3/OkP3w/r Dm3EbFSZzt92kl/cTswBOAX/tD/s6nCn9LfDyLUC02IBTmXOkN4w3zr2F+XGYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=unstable.horse (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698328681; a=rsa-sha256; cv=none; b=l0fn2wxyf5xcd29uBDx3K4qLOcocG5xTxtFUQPQPZyRnH2yJpq0KH5+U4qmJVXs9x+n98V 8xOHNxi8Ul6h7bWPU19RzrMUk/MaCVPmQ8sQtbkeK12ukzC4L/rZSC/iOAzhwvRrbImkNJ hCTt+z4ac2A/II4r7/U3QFJYWkA0m2uL3okop1ZYhE0DTslqx/OjuseuPLUpKxVHk44Y2/ dYxBPRGmAXyjFZzSZ2kpErTRqsmQTXnnrPIW/7a0rnOLRfJ4rLZMDP1NkxPgUTal05+b98 56varCF7telfkXAQ4LLqiRBBscWklppQeW3IjcPw5k6FNKZbtSpdXSlHZpXQew== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw0rh-0002lD-Dc; Thu, 26 Oct 2023 09:57:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qurdg-0007DZ-0Y for help-guix@gnu.org; Mon, 23 Oct 2023 05:54:26 -0400 Received: from [140.82.58.198] (helo=unstable.horse) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qurdd-0000po-By for help-guix@gnu.org; Mon, 23 Oct 2023 05:54:23 -0400 Received: from unstable.horse (localhost [127.0.0.1]) by unstable.horse (OpenSMTPD) with ESMTP id c9675880; Mon, 23 Oct 2023 09:47:37 +0000 (UTC) Received: from [192.168.1.9] ([93.86.232.105]) by unstable.horse with ESMTPSA id FW3OKDhBNmUpDQAA+/WzFw (envelope-from ); Mon, 23 Oct 2023 09:47:36 +0000 Message-ID: Subject: Re: guix + fish shell help From: Unstable Horse To: Alexis Simon Cc: help-guix Date: Mon, 23 Oct 2023 11:47:02 +0200 In-Reply-To: <9a496edb-8277-4b68-83c4-59f790458592@runbox.com> References: <9a496edb-8277-4b68-83c4-59f790458592@runbox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (by Flathub.org) MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 140.82.58.198 (failed) Received-SPF: pass client-ip=140.82.58.198; envelope-from=stable.master@unstable.horse; helo=unstable.horse X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 26 Oct 2023 09:57:34 -0400 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.10 X-Spam-Score: -0.10 X-Migadu-Queue-Id: 69D5C42754 X-Migadu-Scanner: mx13.migadu.com X-TUID: flYJ6k52pcgk On Sun, 2023-10-22 at 19:51 -0700, Alexis Simon wrote: > If people could let me know how they've managed to set up fish > properly=20 > with guix this would be great. I use fish as my login shell on GuixSD and this is my config.fish: --8<---------------cut here---------------start------------->8--- if status is-login eval "$(guix package --search-paths \ -p ~/.config/guix/current \ -p ~/.guix-profile \ -p /run/current-system/profile)" fish_add_path -P -p ~/.local/bin fish_add_path -P -p /run/setuid-programs end --8<---------------cut here---------------end--------------->8--- guix package --search-paths takes care of all the environment variables needed for your profile, including PATH. Keep in mind that it overrides these variables, it doesn't append. So if fish is not your login shell, then you will need to re-apply you custom paths. Also, if it isn't your login shell, then the is-login check should probably be removed.