Re: Anyone using Nix on Guix System?

2021-01-04 Thread Yasuaki Kudo
Thank you, let me try this!  I will report later!

> On Jan 3, 2021, at 19:58, Pierre Neidhardt  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/



Re: Anyone using Nix on Guix System?

2021-01-03 Thread Pierre Neidhardt
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/


signature.asc
Description: PGP signature


Anyone using Nix on Guix System?

2021-01-03 Thread Yasuaki Kudo
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