gnu: lynis: Work.

Work around <https://issues.guix.gnu.org/55287>.

* gnu/packages/admin.scm (lynis)[arguments]: Add a custom 'unpack phase
that doesn't MAKE-FILE-WRITABLE.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-22 02:00:00 +02:00
parent e490aacde1
commit 52431e42ef
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -4399,6 +4399,13 @@ (define-public lynis
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'unpack
;; XXX Remove after fixing <https://issues.guix.gnu.org/55287>.
(lambda* (#:key source #:allow-other-keys)
(mkdir "source")
(chdir "source")
(copy-recursively source "."
#:keep-mtime? #t)))
(replace 'configure (replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "lynis" (substitute* "lynis"