From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53077) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihcWR-0008FY-TJ for guix-patches@gnu.org; Wed, 18 Dec 2019 11:50:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihcWQ-0004Ht-LB for guix-patches@gnu.org; Wed, 18 Dec 2019 11:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37869) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihcWQ-0004Eg-Cg for guix-patches@gnu.org; Wed, 18 Dec 2019 11:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihcWQ-0006Qf-43 for guix-patches@gnu.org; Wed, 18 Dec 2019 11:50:02 -0500 Subject: [bug#38640] [PATCH] Add ripgrep and many rust dependencies Resent-Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Wed, 18 Dec 2019 08:49:30 -0800 From: Martin Becze In-Reply-To: References: <002582d46228db8739fc12c0404ad177@riseup.net> <1e0988ded5edd72803b0660004614db0@riseup.net> Message-ID: <5aaede0580fbeabca3fe03f92f714b25@riseup.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: John Soo Cc: Guix-patches , 38640@debbugs.gnu.org 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)))) ....