From 5127a509f71d7308ce622d30c6f0dd55845d9890 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 13 Dec 2013 10:52:12 +0100 Subject: [PATCH] gnu: file: Fixed cross-compilation. * gnu/packages/file.scm (file): [(eq? (%current-target-system) #f)] Add native-inputs. --- gnu/packages/file.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/file.scm b/gnu/packages/file.scm index 1e09fb7..63a9df4 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 -- 1.7.10.4