unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Guix packaging copy file to current users profile
@ 2019-01-09 14:23 Reza Alizadeh Majd
  2019-01-09 19:32 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Reza Alizadeh Majd @ 2019-01-09 14:23 UTC (permalink / raw)
  To: help-guix

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.

Thanks, 
Reza

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

* Re: Guix packaging copy file to current users profile
  2019-01-09 14:23 Guix packaging copy file to current users profile Reza Alizadeh Majd
@ 2019-01-09 19:32 ` Leo Famulari
  2019-01-10  6:40   ` Reza Alizadeh Majd
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2019-01-09 19:32 UTC (permalink / raw)
  To: Reza Alizadeh Majd; +Cc: help-guix

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

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!

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

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

* Re: Guix packaging copy file to current users profile
  2019-01-09 19:32 ` Leo Famulari
@ 2019-01-10  6:40   ` Reza Alizadeh Majd
  0 siblings, 0 replies; 3+ messages in thread
From: Reza Alizadeh Majd @ 2019-01-10  6:40 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix


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)

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

end of thread, other threads:[~2019-01-10  6:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-09 14:23 Guix packaging copy file to current users profile Reza Alizadeh Majd
2019-01-09 19:32 ` Leo Famulari
2019-01-10  6:40   ` Reza Alizadeh Majd

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).