summaryrefslogtreecommitdiff
path: root/gnu/packages/file.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-13 22:11:46 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-13 22:11:56 +0100
commitcd2512bfa3ad704f10ee391d88e826d199b378c7 (patch)
treef164415e91de726b5ea937722118249fb0238a11 /gnu/packages/file.scm
parent351d690f3741ef3a52579da41fe6c83fc41f255a (diff)
downloadpatches-cd2512bfa3ad704f10ee391d88e826d199b378c7.tar
patches-cd2512bfa3ad704f10ee391d88e826d199b378c7.tar.gz
gnu: file: Add itself as a native input for cross-compilation.
Fixes a regression introduced in c198872b. Reported by John Darrington. * gnu/packages/file.scm (file)[self-native-input?]: New field.
Diffstat (limited to 'gnu/packages/file.scm')
-rw-r--r--gnu/packages/file.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/file.scm b/gnu/packages/file.scm
index a90ab9c98e..070695ec2c 100644
--- a/gnu/packages/file.scm
+++ b/gnu/packages/file.scm
@@ -36,6 +36,11 @@
"0z1sgrcfy6d285kj5izy1yypf371bjl3247plh9ppk0svaxv714l"))
(patches (list (search-patch "file-CVE-2014-3587.patch")))))
(build-system gnu-build-system)
+
+ ;; When cross-compiling, this package depends upon a native install of
+ ;; itself.
+ (self-native-input? #t)
+
(synopsis "File type guesser")
(description
"The file command is a file type guesser, a command-line tool that tells