guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/12: gnu: lynis: Work.


From: guix-commits
Subject: 11/12: gnu: lynis: Work.
Date: Wed, 25 May 2022 13:24:35 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 52431e42ef92beb89ef31e3fd3ec178254b8d630
Author: Tobias Geerinckx-Rice <me@tobias.gr>
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

[Prev in Thread] Current Thread [Next in Thread]