aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-12-15 18:03:29 +0100
committerLudovic Courtès <ludo@gnu.org>2015-12-15 18:04:28 +0100
commit304e4f513580ed0f141f5ea6ae8289b4476e2ab0 (patch)
treea1abb880f3d793c087e2f2ccdaa309a4d63d8170
parenta2a9bba43cbc32efe6a654455d1789c6964dfbc5 (diff)
downloadguix-304e4f513580ed0f141f5ea6ae8289b4476e2ab0.tar
guix-304e4f513580ed0f141f5ea6ae8289b4476e2ab0.tar.gz
gnu: grep: Add missing dependency on Perl.
* gnu/packages/base.scm (grep)[native-inputs]: New field. * gnu/packages/commencement.scm (grep-final): Likewise.
-rw-r--r--gnu/packages/base.scm1
-rw-r--r--gnu/packages/commencement.scm4
2 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index fb3cbb4bc2..75f00a6f5b 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -82,6 +82,7 @@ command-line arguments, multiple languages, and so on.")
(base32
"1srn321x7whlhs5ks36zlcrrmj4iahll8fxwsh1vbz3v04px54fa"))))
(build-system gnu-build-system)
+ (native-inputs `(("perl" ,perl))) ;some of the tests require it
(synopsis "Print lines matching a pattern")
(description
"grep is a tool for finding text inside files. Text is found by
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 116ca7c647..8aa32e859d 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -728,7 +728,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
;; The final grep. Gzip holds a reference to it (via zgrep), so it must be
;; built before gzip.
(package-with-bootstrap-guile
- (package-with-explicit-inputs grep
+ (package-with-explicit-inputs (package
+ (inherit grep)
+ (native-inputs `(("perl" ,perl-boot0))))
%boot5-inputs
(current-source-location)
#:guile guile-final)))