From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reza Alizadeh Majd Subject: Re: Guix packaging copy file to current users profile Date: Thu, 10 Jan 2019 10:10:23 +0330 Message-ID: <1547102423.1280160.1630603296.2B1DCCC9@webmail.messagingengine.com> References: <1547043780.2061976.1629855440.214C1A86@webmail.messagingengine.com> <20190109193215.GA6282@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghU1O-0007i5-Ut for help-guix@gnu.org; Thu, 10 Jan 2019 01:40:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghU1N-0001iM-7I for help-guix@gnu.org; Thu, 10 Jan 2019 01:40:54 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58415) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghU1I-0000tN-4c for help-guix@gnu.org; Thu, 10 Jan 2019 01:40:49 -0500 In-Reply-To: <20190109193215.GA6282@jasmine.lan> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: help-guix@gnu.org 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)