aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorArun Isaac2021-12-29 20:41:34 +0530
committerArun Isaac2021-12-29 23:40:08 +0530
commit5bbb824ffb7ebac9cdd1b76e5ad8c6db8616ee31 (patch)
tree9d2d7abea5f011b473822b14957ca0b9dc8bfa5f /gn/packages/bioinformatics.scm
parentb2ef78a57eded1d3a010b3b04702bed05919bf59 (diff)
downloadguix-bioinformatics-5bbb824ffb7ebac9cdd1b76e5ad8c6db8616ee31.tar.gz
Reference non-public rust packages using @@.
rust-1.47 and rust-1.49 are no longer exported from (gnu packages rust). * gn/packages/bioinformatics.scm (gfaffix): Reference rust-1.49 using @@. * gn/packages/crates-io.scm (rust-handlegraph-0.7): Reference rust-1.47 using @@.
Diffstat (limited to 'gn/packages/bioinformatics.scm')
-rw-r--r--gn/packages/bioinformatics.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index 391c2bf..fbe58ff 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -477,10 +477,11 @@ reads.")
(("^handlegraph.*") "handlegraph = \"0.7\"\n"))))))
(build-system cargo-build-system)
(arguments
- `(#:rust ,(if (> (string->number (version-major+minor (package-version rust-1.49)))
- (string->number (version-major+minor (package-version rust))))
- rust-1.49
- rust)
+ `(#:rust ,(let ((rust-1.49 (@@ (gnu packages rust) rust-1.49)))
+ (if (> (string->number (version-major+minor (package-version rust-1.49)))
+ (string->number (version-major+minor (package-version rust))))
+ rust-1.49
+ rust))
#:cargo-inputs
(("rust-clap" ,rust-clap-3)
("rust-rustc-hash" ,rust-rustc-hash-1)