GNU bug report logs - #38640
[PATCH] Add ripgrep and many rust dependencies

Previous Next

Package: guix-patches;

Reported by: John Soo <jsoo1 <at> asu.edu>

Date: Mon, 16 Dec 2019 19:10:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Martin Becze <mjbecze <at> riseup.net>
To: John Soo <jsoo1 <at> asu.edu>
Cc: Guix-patches <guix-patches-bounces+mjbecze=riseup.net <at> gnu.org>, 38640 <at> debbugs.gnu.org
Subject: [bug#38640] [PATCH] Add ripgrep and many rust dependencies
Date: Wed, 18 Dec 2019 08:49:30 -0800
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))))
    ....




This bug report was last modified 5 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.