From e93c24df09d2b5ce453734d4d6d1b3d1012d628d Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 13 Dec 2013 10:52:12 +0100 Subject: gnu: file: Fixed cross-compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/file.scm (file): [(eq? (%current-target-system) #f)] Add native-inputs. Signed-off-by: Ludovic Courtès --- gnu/packages/file.scm | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3