From: Ricardo Wurmus <rekado@elephly.net>
To: Vicente Vera <vicentemvp@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Installing a custom package on Guix binary setup
Date: Tue, 01 Sep 2015 08:34:50 +0200 [thread overview]
Message-ID: <87a8t64ph1.fsf@elephly.net> (raw)
In-Reply-To: <CAMfbzvAf0D1EMjXA0JuCLv2TAMFO4Tb-4TdJ-ZSawb4=F2+xrA@mail.gmail.com>
> Wow, thanks! It worked fine. Instead of Emacs I built a modified R
> package, without texlive and icedtea6. After defining the
> GUIX_PACKAGE_PATH variable I moved there "my-R.scm", which included:
>
> (define-module (my-r)
> #:use-module ...) ; same as in statistics.scm
>
> (define-public my-r
> (package
> ...)) ; commenting out the unwanted inputs
An alternative is to inherit from the “r” package in “statistics.scm”.
(define-module (my own packages)
#:use-module (guix packages)
#:use-module (gnu packages statistics)
#:use-module (srfi srfi-1))
(define-public my-r
(package (inherit r)
(name "my-r")
;; modify only the inputs here
(native-inputs (alist-delete "texlive" (package-native-inputs r)))
(inputs (alist-delete "icedtea6" (package-inputs r)))))
> Then ran 'guix package -i my-r'. Some substitutes were downloaded (I
> guess that's not always safe/recommended?), R 3.2.2 got compiled and
> that's it!
Substitutes are downloaded from hydra only if hydra has been authorized
as a source for binary substitutes. You can revoke permission for hydra
or temporarily disable the use of substitutes with the flag
‘--no-substitutes’.
~~ Ricardo
next prev parent reply other threads:[~2015-09-01 6:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-31 16:42 Installing a custom package on Guix binary setup Vicente Vera
2015-08-31 20:03 ` Thompson, David
2015-08-31 20:15 ` Ludovic Courtès
2015-09-01 2:28 ` Vicente Vera
2015-09-01 6:34 ` Ricardo Wurmus [this message]
2015-09-02 13:09 ` R dependencies Ludovic Courtès
2015-09-02 18:41 ` '-light' vs. '-minimal' packages Alex Kost
2015-09-02 19:26 ` Mathieu Lirzin
2015-09-02 20:18 ` Ludovic Courtès
2015-09-03 8:32 ` Alex Kost
2015-09-03 21:11 ` Ludovic Courtès
2015-09-04 12:59 ` Alex Kost
2015-09-05 20:29 ` Ludovic Courtès
2015-09-03 0:53 ` R dependencies Vicente Vera
2015-09-03 6:29 ` Ricardo Wurmus
2015-09-03 14:55 ` Vicente Vera
2015-09-11 14:39 ` Vicente Vera
2015-09-03 10:12 ` [PATCH] " Ricardo Wurmus
2015-09-03 21:44 ` Ludovic Courtès
2015-09-05 20:20 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8t64ph1.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=vicentemvp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).