nckx pushed a commit to branch master
in repository guix.

commit 52431e42ef92beb89ef31e3fd3ec178254b8d630
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun May 22 02:00:00 2022 +0200

    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.
---
 gnu/packages/admin.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 38239e1f05..d22753c64f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4399,6 +4399,13 @@ Logitech Unifying Receiver.")
     (arguments
      `(#: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
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (substitute* "lynis"

Reply via email to