From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Installing guix on nixos system Date: Thu, 19 Mar 2020 10:21:51 +0100 Message-ID: <87a74cbsy8.fsf@devup.no> References: <87a74g2wsn.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39587) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jErNE-0004iF-FU for help-guix@gnu.org; Thu, 19 Mar 2020 05:21:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jErND-0007Z6-Ff for help-guix@gnu.org; Thu, 19 Mar 2020 05:21:56 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:53635) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jErND-0007XU-Bw for help-guix@gnu.org; Thu, 19 Mar 2020 05:21:55 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Roy Lemmon , Pierre Neidhardt Cc: help-guix --=-=-= Content-Type: text/plain Roy Lemmon writes: > Hi All, > > I have followed the instructions in that link and successfully installed > the build users and guix daemon on my nixos system. As root, I can run > > guix package -i hello > > and the hello package is installed and I can run it. > > However I am having trouble setting up the environment for running guix as > a user (I am on my laptop, so there is only one user). guix is of course > not recognised as a command when I am the user. I can run it as > /usr/local/bin/guix so that is ok and I could put that in my PATH. But is > that all I need to do ? I am not sure where the guix packages are installed > as a user rather than root. I haven't read the linked blog post, but I think the next step is to use the Guix in /usr/local/bin to run 'guix pull' as your user. That will install the latest version of Guix in ~/.config/guix/current. Afterwards, make sure ~/.config/guix/current/bin comes first in PATH, then you should be able to use Guix normally. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5zOa8ACgkQoqBt8qM6 VPpIRQgAwHztg0/vSLVGBrjROhY5iQOCMQ1SOgVglSgpg/FXIuyajIuq0j0OpEd7 xrGTblmhlpdTVh4TMacB6WxjuJa4xN0vbnKaPZdDwHcpnxqHMBLiG7J6OjaAthno gKuPOJs3HOVwoQQ/YLaWQ89x5Syq64lXaFxqkl/7OpKfwQGWMOyKjkEXvbmBkIIs 6DbdkKzCpbBN93KqymTGbeUy6HwlzERojJFNymL7B2jXykZcD0Ie+dcKCt8u/CVK 0QUSwmwvAijAOfl3hAaDwFb4tOhVrUdPbnWoIcz2Nl/ah4/6z1VcHrfjdChwgSLs hLHGAJk3vLEeFJy+xn9fATiuCNdDEg== =H3wx -----END PGP SIGNATURE----- --=-=-=--