diff options
author | Marius Bakke <mbakke@fastmail.com> | 2016-11-23 18:40:53 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2016-11-28 23:11:39 +0100 |
commit | be12f4e27505edd87c4aa457fec43dd0fee23b79 (patch) | |
tree | cb1d508efb10a69f24fb37f0e730d86ecb892ae2 /guix/build/perl-build-system.scm | |
parent | bd128e2e8f68d08a1ca5c4730caee068a49c43ba (diff) |
build-system/perl: Don't create non-deterministic 'perllocal.pod' files.
* guix/build/perl-build-system.scm (configure): Add "NO_PERLLOCAL=1"
to Makefile.PL arguments.
Diffstat (limited to 'guix/build/perl-build-system.scm')
-rw-r--r-- | guix/build/perl-build-system.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/build/perl-build-system.scm b/guix/build/perl-build-system.scm index 8f480eae16..b2024e4406 100644 --- a/guix/build/perl-build-system.scm +++ b/guix/build/perl-build-system.scm @@ -42,7 +42,11 @@ "--installdirs=site" ,@module-build-flags)) ((file-exists? "Makefile.PL") `("Makefile.PL" ,(string-append "PREFIX=" out) - "INSTALLDIRS=site" ,@make-maker-flags)) + ;; Prevent installation of 'perllocal.pod' files for + ;; determinism. These are typically used to build a + ;; catalogue of installed packages, but does not provide + ;; any useful information when installed with a module. + "INSTALLDIRS=site" "NO_PERLLOCAL=1" ,@make-maker-flags)) (else (error "no Build.PL or Makefile.PL found"))))) (format #t "running `perl' with arguments ~s~%" args) (zero? (apply system* "perl" args)))) |