From: Martin Becze <mjbecze@riseup.net>
To: John Soo <jsoo1@asu.edu>
Cc: Guix-patches <guix-patches-bounces+mjbecze=riseup.net@gnu.org>,
38640@debbugs.gnu.org
Subject: [bug#38640] [PATCH] Add ripgrep and many rust dependencies
Date: Wed, 18 Dec 2019 08:49:30 -0800 [thread overview]
Message-ID: <5aaede0580fbeabca3fe03f92f714b25@riseup.net> (raw)
In-Reply-To: <CAKf5CqVd08b_EA+yDxR18cYceudF+AxYCgeLT+BcLj+Do9=KEA@mail.gmail.com>
On 2019-12-18 16:42, John Soo wrote:
> Hi Martin,
>
> > So the ` hidden? #t ` also hides the package from (find-packages*)
>> functions in (gnu packages). I actully want to be able to search for
> and
>> use rust libraries with guix, so I prefer not to hide them.
>
> I totally agree. I can't find any documentation on #skip-build though.
> Can you provide a snippet, maybe?
>
> Thanks,
>
> John
I just stumbled upon it will looking at the cargo build system
https://github.com/guix-mirror/guix/blob/master/guix/build-system/cargo.scm#L107
but you pass it just like an other build system argument. ie
(define-public rust-afl
....
(arguments
`(#:skip-build?
#t
#:cargo-inputs
(("rust-cc" ,rust-cc)
("rust-clap" ,rust-clap)
("rust-rustc-version" ,rust-rustc-version)
("rust-xdg" ,rust-xdg))))
....
next prev parent reply other threads:[~2019-12-18 16:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-16 19:08 [bug#38640] [PATCH] Add ripgrep and many rust dependencies John Soo
2019-12-16 21:04 ` Nicolò Balzarotti
2019-12-16 22:53 ` Martin Becze
2019-12-17 17:10 ` John Soo
2019-12-18 16:32 ` Martin Becze
2019-12-18 16:42 ` John Soo
2019-12-18 16:49 ` Martin Becze [this message]
2019-12-18 16:50 ` John Soo
2019-12-19 7:25 ` Efraim Flashner
2019-12-20 17:44 ` John Soo
2019-12-21 4:18 ` John Soo
2019-12-31 8:57 ` Efraim Flashner
2019-12-31 15:49 ` John Soo
2020-01-02 18:20 ` bug#38640: " Efraim Flashner
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=5aaede0580fbeabca3fe03f92f714b25@riseup.net \
--to=mjbecze@riseup.net \
--cc=38640@debbugs.gnu.org \
--cc=guix-patches-bounces+mjbecze=riseup.net@gnu.org \
--cc=jsoo1@asu.edu \
/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).