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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).