mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: make-bootstrap: tarball-package: Use invoke instead of system*.
* gnu/packages/make-bootstrap.scm (tarball-package)[arguments]: Use invoke. The builder always returns #t.
This commit is contained in:
parent
1a83e2a286
commit
d1c86620f3
1 changed files with 11 additions and 11 deletions
|
@ -632,17 +632,17 @@ (define (tarball-package pkg)
|
|||
(mkdir out)
|
||||
(set-path-environment-variable "PATH" '("bin") (list tar xz))
|
||||
(with-directory-excursion input
|
||||
(zero? (system* "tar" "cJvf"
|
||||
(string-append out "/"
|
||||
,name "-" ,version
|
||||
"-"
|
||||
,(or (%current-target-system)
|
||||
(%current-system))
|
||||
".tar.xz")
|
||||
"."
|
||||
;; avoid non-determinism in the archive
|
||||
"--sort=name" "--mtime=@0"
|
||||
"--owner=root:0" "--group=root:0"))))))))))
|
||||
(invoke "tar" "cJvf"
|
||||
(string-append out "/"
|
||||
,name "-" ,version
|
||||
"-"
|
||||
,(or (%current-target-system)
|
||||
(%current-system))
|
||||
".tar.xz")
|
||||
"."
|
||||
;; avoid non-determinism in the archive
|
||||
"--sort=name" "--mtime=@0"
|
||||
"--owner=root:0" "--group=root:0")))))))))
|
||||
|
||||
(define %bootstrap-binaries-tarball
|
||||
;; A tarball with the statically-linked bootstrap binaries.
|
||||
|
|
Loading…
Reference in a new issue