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 sF6xEgfExF6UEgAA0tVLHw (envelope-from ) for ; Wed, 20 May 2020 05:45:43 +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 BA2FDgfExF4xKwAA1q6Kng (envelope-from ) for ; Wed, 20 May 2020 05:45:43 +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 BA837940B23 for ; Wed, 20 May 2020 05:45:42 +0000 (UTC) Received: from localhost ([::1]:51154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbHXt-0003iM-Sn for larch@yhetil.org; Wed, 20 May 2020 01:45:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbHXY-0003iF-Pz for help-guix@gnu.org; Wed, 20 May 2020 01:45:16 -0400 Received: from zancanaro.com.au ([45.76.117.151]:39334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbHXX-0006ub-TQ for help-guix@gnu.org; Wed, 20 May 2020 01:45:16 -0400 Received: by zancanaro.com.au (Postfix, from userid 116) id 320952F1FB; Wed, 20 May 2020 05:45:09 +0000 (UTC) Received: from jolteon (210-1-202-160-cpe.spintel.net.au [210.1.202.160]) by zancanaro.com.au (Postfix) with ESMTPSA id 5603A2F1F3; Wed, 20 May 2020 05:45:07 +0000 (UTC) References: <87wo57say2.fsf@disroot.org> User-agent: mu4e 1.4.6; emacs 26.3 From: Carlo Zancanaro To: Edison =?utf-8?B?SWLDocOxZXo=?= Subject: Re: Update Xonsh In-reply-to: <87wo57say2.fsf@disroot.org> Date: Wed, 20 May 2020 15:45:05 +1000 Message-ID: <87imgruplq.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.76.117.151; envelope-from=carlo@zancanaro.id.au; helo=zancanaro.com.au X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/20 01:45:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 8FOWI+lSS3sT Hey Edison, One easy way to do this is to just put your package definition in=20 config.scm, above your operating system definition. I haven't=20 tried it with a shell, but the basic idea would be to have=20 something like this: (define-public xonsh ... your package definition ...) (operating-system ... other bits ... (users (cons (user-account ... other bits ... (shell (file-append xonsh "/bin/xonsh"))) %base-user-accounts)) ... other bits ...) Another way to do it would be to submit a patch updating xonsh to=20 be included in Guix, which would also benefit all other Guix=20 users. Carlo On Wed, May 20 2020, Edison Ib=C3=A1=C3=B1ez wrote: > Regards, > > I currently use xonsh as my user's shell, but the default=20 > version in > GuixSD is 0.6.2 and the latest available is 0.9.18. > > I wrote a file to install the latest version of this package=20 > but I > cannot set this version as my user's default shell. > > There is a way to update xonsh in the config.scm file to the=20 > latest > available version. > > Thank you > > =E2=80=93 Edison Ib=C3=A1=C3=B1ez > One Emacs to rule them all