diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-07-11 10:00:16 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-07-11 10:00:16 +0300 |
commit | 58aaef4460b55de9e15301e1a45cc7b45fbf1383 (patch) | |
tree | a242de522e806220a7c640dca3f629846be92517 /gnu/packages | |
parent | c8c444dbd27303b330ff3d8217b5ce162232e815 (diff) | |
download | guix-58aaef4460b55de9e15301e1a45cc7b45fbf1383.tar.gz |
gnu: parallel: Remove some pregenerated files.
* gnu/packages/parallel.scm (parallel)[source]: Add snippet to remove pregenerated manpages and some documentation. [native-inputs]: Add perl.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/parallel.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 69b5c3eb0c..f4ba6c3c9b 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -69,7 +69,13 @@ (uri (string-append "mirror://gnu/parallel/parallel-" version ".tar.bz2")) (sha256 - (base32 "186mbzz5dn2ka8fqk9r8v8fpmh17clh2c6xln0czs81vynl1bgd4")))) + (base32 "186mbzz5dn2ka8fqk9r8v8fpmh17clh2c6xln0czs81vynl1bgd4")) + (snippet + '(begin + (use-modules (guix build utils)) + ;; Delete pre-generated manpages and documents. + ;; TODO: Add pod2pdf for pdfs, generate rst files. + (for-each delete-file (find-files "src" "\\.(1|7|html)$")))))) (build-system gnu-build-system) (arguments `(#:phases @@ -103,6 +109,8 @@ (assoc-ref outputs "out") "/bin/parallel") "echo" ":::" "1" "2" "3")))))) + (native-inputs + (list perl)) (inputs (list perl procps)) (home-page "https://www.gnu.org/software/parallel/") |