gnu: syncthing: Use install-source? to disable installing the source code.
* gnu/packages/syncthing.scm (syncthing): Set #:install-source? #f instead of deleting the install-source phase.
This commit is contained in:
parent
c10851cf91
commit
1899ef0b83
1 changed files with 2 additions and 3 deletions
|
@ -41,6 +41,8 @@ (define-public syncthing
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "github.com/syncthing/syncthing"
|
`(#:import-path "github.com/syncthing/syncthing"
|
||||||
#:unpack-path "github.com/syncthing"
|
#:unpack-path "github.com/syncthing"
|
||||||
|
;; We don't need to install the source code for end-user applications.
|
||||||
|
#:install-source? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'delete-bundled-source-code
|
(add-after 'unpack 'delete-bundled-source-code
|
||||||
|
@ -55,9 +57,6 @@ (define-public syncthing
|
||||||
"src/github.com/syncthing/syncthing/vendor/github.com/cznic")
|
"src/github.com/syncthing/syncthing/vendor/github.com/cznic")
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
;; We don't need to install the source code for end-user applications.
|
|
||||||
(delete 'install-source)
|
|
||||||
|
|
||||||
(add-before 'build 'increase-test-timeout
|
(add-before 'build 'increase-test-timeout
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/github.com/syncthing/syncthing/build.go"
|
(substitute* "src/github.com/syncthing/syncthing/build.go"
|
||||||
|
|
Loading…
Reference in a new issue