~ruther/guix-local

8ac2d303e4e01fb5a5b22e7fd78f174e0a931afd — Sarah Morgensen 5 years ago 93c7a51
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>
1 files changed, 2 insertions(+), 5 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +2 -5
@@ 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