mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
build-system/gnu: Fix 'install' phase of 'gnu-dist'.
* guix/build/gnu-dist.scm (install-dist): Fix 2nd argument to 'for-each'.
This commit is contained in:
parent
290c316621
commit
f9a0fc9dbb
1 changed files with 3 additions and 6 deletions
|
@ -40,13 +40,10 @@ (define* (build #:key build-before-dist? make-flags (dist-target "distcheck")
|
|||
(apply invoke "make" dist-target make-flags))
|
||||
|
||||
(define* (install-dist #:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(meta (string-append out "/nix-support")) ; Hydra meta-data
|
||||
(tarballs (find-files "." "\\.tar\\.")))
|
||||
(mkdir out)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(for-each (lambda (tarball)
|
||||
(copy-file tarball (string-append out "/" tarball)))
|
||||
out)
|
||||
(install-file tarball out))
|
||||
(find-files "." "\\.tar\\."))
|
||||
#t))
|
||||
|
||||
(define %dist-phases
|
||||
|
|
Loading…
Reference in a new issue