mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: tar: Allow cross-compilation.
* gnu/packages/base.scm (tar)[inputs]: New field.
This commit is contained in:
parent
99865f6e86
commit
bbe032940c
1 changed files with 7 additions and 0 deletions
|
@ -160,6 +160,13 @@ (define-public tar
|
||||||
(("/bin/sh")
|
(("/bin/sh")
|
||||||
(string-append bash "/bin/sh")))
|
(string-append bash "/bin/sh")))
|
||||||
#t))))))
|
#t))))))
|
||||||
|
|
||||||
|
;; When cross-compiling, the 'set-shell-file-name' phase needs to be able
|
||||||
|
;; to refer to the target Bash.
|
||||||
|
(inputs (if (%current-target-system)
|
||||||
|
`(("bash" ,bash))
|
||||||
|
'()))
|
||||||
|
|
||||||
(synopsis "Managing tar archives")
|
(synopsis "Managing tar archives")
|
||||||
(description
|
(description
|
||||||
"Tar provides the ability to create tar archives, as well as the
|
"Tar provides the ability to create tar archives, as well as the
|
||||||
|
|
Loading…
Reference in a new issue