guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix archive export/import and software deployment


From: Chris Marusich
Subject: Re: guix archive export/import and software deployment
Date: Sun, 06 Mar 2016 23:02:48 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Otherwise, is it OK to pass the whole profile around, as with:
>
>   guix archive --export $(readlink -f ~/.guix-profile) > profile.nar
>
> ?
>
> You’d still have to manually link to this profile on the target machine,
> though:
>
>   cd /var/guix/profiles/per-user/$USER
>   ln -s guix-profile-xyz-link /gnu/store/…-the-above-profile
>
> I think ‘guix package’ should have options to simplify this.

Does that basically achieve a similar effect as the following in Nix?

https://nixos.org/nix/manual/#sec-nix-copy-closure

I haven't used Nix much yet, but it seems similar in spirit. I wonder if
there's anything we could adapt from there.

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]