diff options
author | Efraim Flashner | 2021-08-18 11:15:48 +0300 |
---|---|---|
committer | Efraim Flashner | 2021-08-19 11:54:37 +0300 |
commit | 6b05f2e1960e5fde7ad723f3a9e09e06565795e3 (patch) | |
tree | 9da3a6539c9b859bcab1892de67a7422c8a98a90 /gn/packages/bioinformatics.scm | |
parent | ac3cdf57e7169582b60f36aed3a6aa220bef6852 (diff) | |
download | guix-bioinformatics-6b05f2e1960e5fde7ad723f3a9e09e06565795e3.tar.gz |
gn: make sure we use the correct rust version
Diffstat (limited to 'gn/packages/bioinformatics.scm')
-rw-r--r-- | gn/packages/bioinformatics.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index b2ff1ed..d8f0c9a 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -472,7 +472,10 @@ reads.") (("^handlegraph.*") "handlegraph = \"0.7\"\n")))))) (build-system cargo-build-system) (arguments - `(#:rust ,rust-1.49 ; or later + `(#:rust ,(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) |