gnu: direnv: Update to 2.31.0.

* gnu/packages/shellutils.scm (direnv): Update to 2.31.0.
[arguments]: Remove trailing boolean in lambda block.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
jgart 2022-06-05 22:14:15 -05:00 committed by Ludovic Courtès
parent 8d4a69eb90
commit c09cc71724
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -368,7 +368,7 @@ (define-public trash-cli
(define-public direnv (define-public direnv
(package (package
(name "direnv") (name "direnv")
(version "2.28.0") (version "2.31.0")
(source (source
(origin (method git-fetch) (origin (method git-fetch)
(uri (git-reference (uri (git-reference
@ -377,7 +377,7 @@ (define-public direnv
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0yk53jn7wafklixclka17wyjjs2g5giigjr2bd0xzy10nrzwp7c9")))) "1c52izjzkdhmyrfx1gmbp34n0qpxyxw0s94f0vy3ldlg8xr36wmk"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
'(#:import-path "github.com/direnv/direnv" '(#:import-path "github.com/direnv/direnv"
@ -405,8 +405,7 @@ (define-public direnv
(invoke "go" "test" "./...") (invoke "go" "test" "./...")
;; Clean up from the tests, especially so that the extra ;; Clean up from the tests, especially so that the extra
;; direnv executable that's generated is removed. ;; direnv executable that's generated is removed.
(invoke "make" "clean"))) (invoke "make" "clean"))))))))
#t)))))
(native-inputs (native-inputs
(list go-github-com-burntsushi-toml go-github-com-direnv-go-dotenv (list go-github-com-burntsushi-toml go-github-com-direnv-go-dotenv
go-github-com-mattn-go-isatty go-golang-org-x-mod which)) go-github-com-mattn-go-isatty go-golang-org-x-mod which))