aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/crates-io.scm')
-rw-r--r--gn/packages/crates-io.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm
index 2af14f4..0433c39 100644
--- a/gn/packages/crates-io.scm
+++ b/gn/packages/crates-io.scm
@@ -24,10 +24,11 @@
(base32
"1frlcdwhycjvizb0gfb0v36vxjdi0jxagl2l2v6dzdjxpaawv9rs"))))
(arguments
- `(#:rust ,(if (> (string->number (version-major+minor (package-version rust-1.47)))
- (string->number (version-major+minor (package-version rust))))
- rust-1.47
- rust)
+ `(#:rust ,(let ((rust-1.47 (@@ (gnu packages rust) rust-1.47)))
+ (if (> (string->number (version-major+minor (package-version rust-1.47)))
+ (string->number (version-major+minor (package-version rust))))
+ rust-1.47
+ rust))
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-boomphf" ,rust-boomphf-0.5)