[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38408] [PATCH v3 4/5] added "#:skip-build? #t" to the output of (ma
From: |
Martin Becze |
Subject: |
[bug#38408] [PATCH v3 4/5] added "#:skip-build? #t" to the output of (make-crate-sexp). Most the the packages imported will be libaries and won't need to build. The top level package will build them though. |
Date: |
Fri, 6 Dec 2019 13:21:36 -0500 |
* guix/import/crate.scm (make-crate-sexp): added "#:skip-build? #t" to the
output
---
guix/import/crate.scm | 3 ++-
tests/crate.scm | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/guix/import/crate.scm b/guix/import/crate.scm
index da92c43b8c..5683369b7a 100644
--- a/guix/import/crate.scm
+++ b/guix/import/crate.scm
@@ -183,7 +183,8 @@ record or #f if it was not found."
(base32
,(bytevector->nix-base32-string (port-sha256
port))))))
(build-system cargo-build-system)
- ,@(maybe-arguments (append (maybe-cargo-inputs cargo-inputs)
+ ,@(maybe-arguments (append `(#:skip-build? #t)
+ (maybe-cargo-inputs cargo-inputs)
(maybe-cargo-development-inputs
cargo-development-inputs)))
(home-page ,(match home-page
diff --git a/tests/crate.scm b/tests/crate.scm
index b77cbb08c6..64e5b6932e 100644
--- a/tests/crate.scm
+++ b/tests/crate.scm
@@ -102,7 +102,8 @@
('build-system 'cargo-build-system)
('arguments
('quasiquote
- ('#:cargo-inputs (("rust-bar" ('unquote rust-bar))))))
+ ('#:skip-build? #t
+ #:cargo-inputs (("rust-bar" ('unquote rust-bar))))))
('home-page "http://example.com")
('synopsis "summary")
('description "summary")
--
2.24.0
- [bug#38408] [PATCH v3 0/5] Semantic version aware recusive importer for crates, Martin Becze, 2019/12/06
- [bug#38408] [PATCH v3 4/5] added "#:skip-build? #t" to the output of (make-crate-sexp). Most the the packages imported will be libaries and won't need to build. The top level package will build them though.,
Martin Becze <=
- [bug#38408] [PATCH v3 1/5] gnu: added new function, find-packages-by-name*/direct, Martin Becze, 2019/12/06
- [bug#38408] [PATCH v3 5/5] guix: crate: Depublicated dependencies, Martin Becze, 2019/12/06
- [bug#38408] [PATCH v3 3/5] Rewrote some of guix/import/crate.scm to use recursive-import-semver and updated script and test., Martin Becze, 2019/12/06
- [bug#38408] [PATCH v3 2/5] gnu: added new procedure, recusive-import-semver, Martin Becze, 2019/12/06