diff options
author | John Darrington <jmd@gnu.org> | 2013-12-13 10:52:12 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-12-13 23:36:57 +0100 |
commit | e93c24df09d2b5ce453734d4d6d1b3d1012d628d (patch) | |
tree | 0fbc0a2d45d4cc01d16d00c1b1420107d570e81f /gnu | |
parent | 1ae6df81dbf98956e489a7668d2280ad9c4d72e4 (diff) | |
download | guix-e93c24df09d2b5ce453734d4d6d1b3d1012d628d.tar.gz |
gnu: file: Fixed cross-compilation.
* gnu/packages/file.scm (file): [(eq? (%current-target-system) #f)] Add native-inputs. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/file.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/file.scm b/gnu/packages/file.scm index 1e09fb7f18..63a9df4a9a 100644 --- a/gnu/packages/file.scm +++ b/gnu/packages/file.scm @@ -34,6 +34,9 @@ (sha256 (base32 "08ix4xrvan0k80n0l5lqfmc4azjv5lyhvhwdxny4r09j5smhv78r")))) (build-system gnu-build-system) + (native-inputs + ;; This package depends upon a native install of itself. + (if (%current-target-system) `(("file" ,file)) '() )) (synopsis "file, a file type guesser") (description "The file command is a file type guesser, a command-line tool that tells |