me
/
guix
Archived
1
0
Fork 0

gnu: tar: Allow cross-compilation.

* gnu/packages/base.scm (tar)[inputs]: New field.
master
Ludovic Courtès 2016-06-10 11:25:09 +02:00
parent 99865f6e86
commit bbe032940c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 0 deletions

View File

@ -160,6 +160,13 @@ implementation offers several extensions over the standard utility.")
(("/bin/sh")
(string-append bash "/bin/sh")))
#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")
(description
"Tar provides the ability to create tar archives, as well as the