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:
Leo Famulari 2017-10-24 12:18:24 -04:00
parent c10851cf91
commit 1899ef0b83
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08

View File

@ -41,6 +41,8 @@
(arguments
`(#:import-path "github.com/syncthing/syncthing"
#:unpack-path "github.com/syncthing"
;; We don't need to install the source code for end-user applications.
#:install-source? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'delete-bundled-source-code
@ -55,9 +57,6 @@
"src/github.com/syncthing/syncthing/vendor/github.com/cznic")
#t))
;; We don't need to install the source code for end-user applications.
(delete 'install-source)
(add-before 'build 'increase-test-timeout
(lambda _
(substitute* "src/github.com/syncthing/syncthing/build.go"