unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Anyone using Nix on Guix System?
@ 2021-01-03  8:30 Yasuaki Kudo
  2021-01-03 10:58 ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Yasuaki Kudo @ 2021-01-03  8:30 UTC (permalink / raw)
  To: help-guix

Happy New Year!

I tried to use Nix on my Guix System by following instructions I found on the Internet (I added both nix package and nix service in my system configuration.scm file.)

I then followed standard Nix installation instructions like adding a Nix channel, etc - only to find no package available after issuing nix-env -qa (I hope am correctly recalling...)

If anyone has a working configuration for Nix on Guix System for daily use, would you please share?

I thought using Nix on Guix System would be an excellent way to augment missing packages in Guix! 😄

Cheers,
Yasi 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Anyone using Nix on Guix System?
  2021-01-03  8:30 Anyone using Nix on Guix System? Yasuaki Kudo
@ 2021-01-03 10:58 ` Pierre Neidhardt
  2021-01-04 13:23   ` Yasuaki Kudo
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2021-01-03 10:58 UTC (permalink / raw)
  To: Yasuaki Kudo, help-guix

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

Hi!

While I haven't used it in a few months, here is what I did to set it
up:

--8<---------------cut here---------------start------------->8---
(operating-system
  (inherit %bababa/os)
  (packages (cons* nix
                   ...))
  (services (cons*
             (service nix-service-type)
             ...
             ))
  )
--8<---------------cut here---------------end--------------->8---

Then, as per the manual:

--8<---------------cut here---------------start------------->8---
        • Add a Nix channel and update it.  See Nix Package Manager
          Guide (https://nixos.org/nix/manual/).

        • Create a symlink to your profile and activate Nix profile:

          $ ln -s "/nix/var/nix/profiles/per-user/$USER/profile" ~/.nix-profile
          $ source /run/current-system/profile/etc/profile.d/nix.sh
--8<---------------cut here---------------end--------------->8---

Hope that helps!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Anyone using Nix on Guix System?
  2021-01-03 10:58 ` Pierre Neidhardt
@ 2021-01-04 13:23   ` Yasuaki Kudo
  0 siblings, 0 replies; 3+ messages in thread
From: Yasuaki Kudo @ 2021-01-04 13:23 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

Thank you, let me try this!  I will report later!

> On Jan 3, 2021, at 19:58, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> 
> Hi!
> 
> While I haven't used it in a few months, here is what I did to set it
> up:
> 
> --8<---------------cut here---------------start------------->8---
> (operating-system
>  (inherit %bababa/os)
>  (packages (cons* nix
>                   ...))
>  (services (cons*
>             (service nix-service-type)
>             ...
>             ))
>  )
> --8<---------------cut here---------------end--------------->8---
> 
> Then, as per the manual:
> 
> --8<---------------cut here---------------start------------->8---
>        • Add a Nix channel and update it.  See Nix Package Manager
>          Guide (https://nixos.org/nix/manual/).
> 
>        • Create a symlink to your profile and activate Nix profile:
> 
>          $ ln -s "/nix/var/nix/profiles/per-user/$USER/profile" ~/.nix-profile
>          $ source /run/current-system/profile/etc/profile.d/nix.sh
> --8<---------------cut here---------------end--------------->8---
> 
> Hope that helps!
> 
> -- 
> Pierre Neidhardt
> https://ambrevar.xyz/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-04 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03  8:30 Anyone using Nix on Guix System? Yasuaki Kudo
2021-01-03 10:58 ` Pierre Neidhardt
2021-01-04 13:23   ` Yasuaki Kudo

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git