HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99865f6
)
gnu: tar: Allow cross-compilation.
author
Ludovic Courtès
<ludo@gnu.org>
Fri, 10 Jun 2016 09:25:09 +0000
(11:25 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Fri, 10 Jun 2016 09:25:09 +0000
(11:25 +0200)
* gnu/packages/base.scm (tar)[inputs]: New field.
gnu/packages/base.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/base.scm
b/gnu/packages/base.scm
index
502684f
..
422424c
100644
(file)
--- a/
gnu/packages/base.scm
+++ b/
gnu/packages/base.scm
@@
-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