GNU bug report logs - #46058
[PATCH] gnu: Test rust-juniper-codegen.

Previous Next

Package: guix-patches;

Reported by: Matthew Kraai <kraai <at> ftbfs.org>

Date: Sat, 23 Jan 2021 21:32:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Matthew Kraai <kraai <at> ftbfs.org>
Cc: 46058 <at> debbugs.gnu.org
Subject: [bug#46058] [PATCH] gnu: Test rust-juniper-codegen.
Date: Sun, 24 Jan 2021 10:20:21 +0100
Hello,

Matthew Kraai <kraai <at> ftbfs.org> writes:

> * gnu/packages/patches/rust-juniper-codegen-use-__private.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/crates-io.scm (rust-juniper-codegen-0.14)[source]: Use it.
>   [arguments]: Do not set #:tests? to #false.

Thank you for fixing my FIXME. :)

However, I ponder if this is going in the right direction. IIUC, the
goal for Rust packaging is to automatically fetch and build inputs and
development inputs, using the importer, i.e., maybe writing something like

     #:cargo-inputs (("instant" "0.1")
                     ("lock-api" "0.4")
                     ("parking-lot-core" "0.8"))

and let the crate importer deal with it without providing the packages
ourselves.

In this case, why bother, since any non-leaf package will be expected to
#:skip-build anyway. What about doing it here, too?

WDYT?

Regards,
-- 
Nicolas Goaziou




This bug report was last modified 4 years and 141 days ago.

Previous Next


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