From 37f6126f9f327e4f9cd5b2b0c557cd58bec91628 Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Mon, 26 Jul 2021 19:56:36 -0700 Subject: gnu: go-golang-org-x-crypto: Remove obsolete phase. * gnu/packages/golang.scm (go-golang-org-x-crypto)[arguments]<#:phases>: Remove 'make-gzip-archive-writable phase. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang.scm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5799d927ea..aa94abdb29 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2451,16 +2451,7 @@ (define-public go-golang-org-x-crypto #:phases (modify-phases %standard-phases ;; Source-only package - (delete 'build) - (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable - (lambda* (#:key outputs #:allow-other-keys) - (map (lambda (file) - (make-file-writable file)) - (find-files - (string-append (assoc-ref outputs "out") - "/src/golang.org/x/crypto/ed25519/testdata") - ".*\\.gz$")) - #t))))) + (delete 'build)))) (propagated-inputs (list go-golang-org-x-sys)) (synopsis "Supplementary cryptographic libraries in Go") -- cgit v1.2.3 From 8347c49e56b5ec1198d74a9340f16309e32b248b Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Mon, 26 Jul 2021 19:56:37 -0700 Subject: gnu: go-github-com-docker-distribution: Remove obsolete phase. * gnu/packages/golang.scm (go-github-com-docker-distribution)[arguments] <#:phases>: Remove 'make-gzip-archive-writable phase. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index aa94abdb29..7e135009a0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3729,17 +3729,7 @@ (define-public go-github-com-docker-distribution (list go-golang-org-x-sys go-github-com-sirupsen-logrus go-golang-org-x-crypto)) (arguments - '(#:import-path "github.com/docker/distribution" - #:phases - (modify-phases %standard-phases - (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable - (lambda* (#:key outputs #:allow-other-keys) - (map (lambda (file) - (make-file-writable file)) - (find-files - (assoc-ref outputs "out") - ".*\\.gz$")) - #t))))) + '(#:import-path "github.com/docker/distribution")) (home-page "https://github.com/docker/distribution") (synopsis "This package is a Docker toolset to pack, ship, store, and -- cgit v1.2.3 From 21566bfd49b69a89263581a9348c81ba12fe42d4 Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Mon, 26 Jul 2021 19:56:38 -0700 Subject: gnu: go-github-com-gdamore-tcell: Remove obsolete phase. * gnu/packages/golang.scm (go-github-com-gdamore-tcell)[arguments] <#:phases>: Remove 'make-files-writable phase. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7e135009a0..46b599a6a7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5552,17 +5552,7 @@ (define-public go-github-com-gdamore-tcell "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/gdamore/tcell" - #:phases - (modify-phases %standard-phases - (add-before 'reset-gzip-timestamps 'make-files-writable - (lambda* (#:key outputs #:allow-other-keys) - ;; Make sure .gz files are writable so that the - ;; 'reset-gzip-timestamps' phase can do its work. - (let ((out (assoc-ref outputs "out"))) - (for-each make-file-writable - (find-files out "\\.gz$")) - #t)))))) + `(#:import-path "github.com/gdamore/tcell")) (inputs (list go-github.com-mattn-go-runewidth go-golang-org-colorful go-golang-org-x-text go-github-com-gdamore-encoding)) -- cgit v1.2.3