gnu: syncthing: Invoke build steps with INVOKE.

* gnu/packages/syncthing.scm (syncthing)[arguments]: Use INVOKE.
This commit is contained in:
Leo Famulari 2018-08-19 17:43:12 -04:00
parent 146c3b2160
commit 1feaca62d3
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -65,12 +65,12 @@ (define-public syncthing
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "src/github.com/syncthing/syncthing"
(zero? (system* "go" "run" "build.go" "-no-upgrade")))))
(invoke "go" "run" "build.go" "-no-upgrade"))))
(replace 'check
(lambda _
(with-directory-excursion "src/github.com/syncthing/syncthing"
(zero? (system* "go" "run" "build.go" "test")))))
(invoke "go" "run" "build.go" "test"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)