Re: How can I add a package outside the guix source dir?

2015-05-22 Thread Ludovic Courtès
宋文武 skribis: > Feng Shu writes: > >> taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: [...] >>> See (info "(guix) Package Modules"), >>> i.e. https://gnu.org/s/guix/manual/html_node/Package-Modules.html > The manual does mention it as (17), but it's not very clear how to do > i

Re: How can I add a package outside the guix source dir?

2015-05-22 Thread 宋文武
Feng Shu writes: > taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: > >> Feng Shu writes: >> >>> I want to add a package which will used by myself, for example: >>> >>> I don't want to put it to guix source dir, How can I solve the problem? >> >> You can set the environment varia

Re: How can I add a package outside the guix source dir?

2015-05-22 Thread Feng Shu
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: > Feng Shu writes: > >> I want to add a package which will used by myself, for example: >> >> I don't want to put it to guix source dir, How can I solve the problem? > > You can set the environment variable GUIX_PACKAGE_PATH to > e.

Re: How can I add a package outside the guix source dir?

2015-05-22 Thread Taylan Ulrich Bayırlı/Kammer
Feng Shu writes: > I want to add a package which will used by myself, for example: > > I don't want to put it to guix source dir, How can I solve the problem? You can set the environment variable GUIX_PACKAGE_PATH to e.g. ~/.guix-packages then put that package definition into ~/.guix-packages/em

Re: How can I add a package outside the guix source dir?

2015-05-22 Thread Ricardo Wurmus
Feng Shu writes: > I want to add a package which will used by myself, for example: > > I don't want to put it to guix source dir, How can I solve the problem? Guix respects the environment variable GUIX_PACKAGE_PATH, which you can point to a directory containing your very own Guile modules with

How can I add a package outside the guix source dir?

2015-05-22 Thread Feng Shu
I want to add a package which will used by myself, for example: I don't want to put it to guix source dir, How can I solve the problem? #+BEGIN_COMMENT (define-public emacs-snapshot (package (inherit emacs) (name "emacs-snapshot") (version "20150522.9e41e0b") (