[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix packaging copy file to current users profile
From: |
Reza Alizadeh Majd |
Subject: |
Re: Guix packaging copy file to current users profile |
Date: |
Thu, 10 Jan 2019 10:10:23 +0330 |
Thanks fo your help,
my package needs to install some `.scm` scripts beside original package files.
I just install them in wrong path, then I couldn't to import them inside guile
interpreter.
after fixing the scheme files installation paths to `share/guile/site/2.2/`
symlinks
built successfully in `~/.guix-profile/share/guile/site/2.2./`.
---
Best
Reza
On Wed, Jan 9, 2019, at 11:02 PM, Leo Famulari wrote:
> On Wed, Jan 09, 2019 at 05:53:00PM +0330, Reza Alizadeh Majd wrote:
> > Hi Everyone,
> >
> > How can I copy some configuration files, from my package archive to
> > current users profile? I need to copy some additional files from package
> > archive to `~/.guix-profile/` path.
>
> Can you clarify what you mean by 'package archive'?
>
> The files in ~/.guix-profile are a union of symbolic links to the
> store directories of the packages in your profile.
>
> So, if your package definition installs a file like this:
>
> /gnu/store/...-reza-package/share/foo.txt
>
> and you add 'reza-package' to your profile, then you will find the
> file symlinked like this:
>
> ~/.guix-profile/share/foo.txt
>
> I hope that helps!
> Email had 1 attachment:
> + signature.asc
> 1k (application/pgp-signature)