From 939de447d0fd4f3f42cdff1121810b92bae32e21 Mon Sep 17 00:00:00 2001 From: Declan Tsien Date: Sun, 14 Jul 2024 13:50:17 +0800 Subject: [PATCH] Fix nightly build --- guix/rustup/build/toolchain.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/rustup/build/toolchain.scm b/guix/rustup/build/toolchain.scm index be89e93..4234b53 100644 --- a/guix/rustup/build/toolchain.scm +++ b/guix/rustup/build/toolchain.scm @@ -150,11 +150,11 @@ channel-str)) (define _channel-name (channel->name channel)) + (define _channel-date (cadr _data)) (define version (cond ((equal? _channel-name "nightly") (format #f "~a-~a" (car _data) _channel-date)) (else (car _data)))) - (define _channel-date (cadr _data)) (define hashed-binaries (cddr _data)) (define available-components (map car hashed-binaries)) (define (component-available? component)