gnu: gnu-pw-mgr: Update to 2.7.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.7. [arguments]: Add new phase to work around /dev/tty not being available in the build environment.master
parent
5d351adaca
commit
ff7bba573a
|
@ -1,7 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2013 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
(define-public gnu-pw-mgr
|
(define-public gnu-pw-mgr
|
||||||
(package
|
(package
|
||||||
(name "gnu-pw-mgr")
|
(name "gnu-pw-mgr")
|
||||||
(version "2.4.2")
|
(version "2.7")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1yvdzc5w37qrjrkby5699ygj9bhkvgi3zk9k9jcjry1j6b7wdl17"))))
|
"1ra8in91qx6n8jydb8kwl2rnqaa2hix5pyawn6nvyqs815h9gx17"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
|
@ -47,6 +47,12 @@
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/dom.test"
|
(substitute* "tests/dom.test"
|
||||||
(("/usr/bin/printf") (which "printf")))
|
(("/usr/bin/printf") (which "printf")))
|
||||||
|
#t))
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
;; In build environment, There is no /dev/tty
|
||||||
|
(substitute* "tests/base.test"
|
||||||
|
(("/dev/tty") "/dev/null"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("which" ,which)))
|
`(("which" ,which)))
|
||||||
|
|
Reference in New Issue