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
|
||||
`(#: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 @@ (define-public syncthing
|
|||
"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"
|
||||
|
|
Loading…
Reference in a new issue