~ruther/guix-local

e93c24df09d2b5ce453734d4d6d1b3d1012d628d — John Darrington 12 years ago 1ae6df8
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>
1 files changed, 3 insertions(+), 0 deletions(-)

M gnu/packages/file.scm
M gnu/packages/file.scm => gnu/packages/file.scm +3 -0
@@ 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