(zilch lang go fetch): passed too many parameters to nix-prefetch-url

This commit is contained in:
puck 2024-10-04 03:12:23 +00:00
parent c0f0024ac9
commit 145cf85e5d

View file

@ -17,7 +17,7 @@
(define hash (if cache-entry
(cdr cache-entry)
(begin (fprintf (current-error-port) "(pre)fetching ~S ~S\n" name url)
(nix-prefetch-url name url #f))))
(nix-prefetch-url name url))))
(unless cache-entry
(set! fetch-cache (cons (cons url hash) fetch-cache))
(call-with-output-file fetch-cache-file (lambda (out) (write fetch-cache out))))