mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: go-github-com-elliotchance-orderedmap: Remove submodule.
* gnu/packages/golang-xyz.scm (go-github-com-elliotchance-orderedmap) [arguments]<#:phases>: Add 'remove-submodule phase to reduce amount of data copied to the store, the submodule "v2" is packed separately as it has it's own go.mod file. (go-github-com-elliotchance-orderedmap-v2)[arguments]<#:phases>: Delete 'remove-submodule phase. Change-Id: Ie68ca24752a612864a4c6ca8537949a922528d82
This commit is contained in:
parent
5b841a42fb
commit
0214076086
1 changed files with 8 additions and 1 deletions
|
@ -2159,6 +2159,10 @@ (define-public go-github-com-elliotchance-orderedmap
|
|||
#:unpack-path "github.com/elliotchance/orderedmap"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-submodule
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(delete-file-recursively "v2"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(when tests?
|
||||
|
@ -2192,7 +2196,10 @@ (define-public go-github-com-elliotchance-orderedmap-v2
|
|||
(arguments
|
||||
(substitute-keyword-arguments
|
||||
(package-arguments go-github-com-elliotchance-orderedmap)
|
||||
((#:import-path _) "github.com/elliotchance/orderedmap/v2")))))
|
||||
((#:import-path _) "github.com/elliotchance/orderedmap/v2")
|
||||
((#:phases _ '%standard-phases)
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'remove-submodule)))))))
|
||||
|
||||
(define-public go-github-com-emersion-go-ical
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue