gnu: kicad-doc: Remove unnecessary code.

* gnu/packages/engineering.scm (arguments): Skip #:tests? instead of
deleting the 'check phase.  Remove the 'set-perl-env phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-07-07 21:22:33 +02:00
parent dbf78e3985
commit 32480e1903
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1046,17 +1046,10 @@ (define-public kicad-doc
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags (list "-DBUILD_FORMATS=html") `(#:configure-flags (list "-DBUILD_FORMATS=html")
#:tests? #f ; no test suite
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'build) (delete 'build))))
(add-before 'install 'set-perl-env
(lambda* (#:key inputs #:allow-other-keys)
(setenv "PERL5LIB"
(string-append (assoc-ref inputs "perl-unicode-linebreak")
"/lib/perl5/site_perl" ":"
(getenv "PERL5LIB")))
#t))
(delete 'check))))
(native-inputs (native-inputs
`(("asciidoc" ,asciidoc) `(("asciidoc" ,asciidoc)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)