guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: go-github-com-alcortesm-tgz: Don't reset gzip timestamps.


From: guix-commits
Subject: 02/02: gnu: go-github-com-alcortesm-tgz: Don't reset gzip timestamps.
Date: Wed, 8 Dec 2021 13:36:03 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 8ac2d303e4e01fb5a5b22e7fd78f174e0a931afd
Author: Sarah Morgensen <iskarian@mgsn.dev>
AuthorDate: Sun Sep 19 16:32:13 2021 -0700

    gnu: go-github-com-alcortesm-tgz: Don't reset gzip timestamps.
    
    The tgz files are committed test fixtures, so don't reset their timestamps.
    
    * gnu/packages/golang.scm (go-github-com-alcortesm-tgz)[arguments]:
    Remove 'make-git-checkout-writable' phase.  Delete 'reset-gzip-timestamps' 
phase
    instead.
    
    Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/golang.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b6d81bd..d555a92 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7622,11 +7622,8 @@ ssh-agent process using the sample server. ")
        `(#:import-path "github.com/alcortesm/tgz"
          #:phases
          (modify-phases %standard-phases
-           (add-after 'unpack 'make-git-checkout-writable
-             (lambda* (#:key outputs #:allow-other-keys)
-               (for-each make-file-writable (find-files "."))
-               (for-each make-file-writable (find-files (assoc-ref outputs 
"out")))
-               #t)))))
+           ;; Files are test fixtures, not generated.
+           (delete 'reset-gzip-timestamps))))
       (home-page "https://github.com/alcortesm/tgz/";)
       (synopsis "Go library to extract tgz files to temporal directories")
       (description "This package provides a Go library to extract tgz files to



reply via email to

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