gnu: nullmailer: Use G-expressions.
* gnu/packages/mail.scm (nullmailer)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
0c9f663cd2
commit
d235e4daea
1 changed files with 41 additions and 39 deletions
|
@ -501,12 +501,12 @@ messages) using IDLE. Implemented in Go.")
|
||||||
(base32 "0md8cf90fl2yf3zh9njjy42a673v4j4ygyq95xg7fzkygdigm1lq"))))
|
(base32 "0md8cf90fl2yf3zh9njjy42a673v4j4ygyq95xg7fzkygdigm1lq"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list #:configure-flags
|
||||||
(list "--enable-tls"
|
#~(list "--enable-tls"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--sysconfdir=/etc")
|
"--sysconfdir=/etc")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'check 'patch-test-FHS-file-names
|
(add-before 'check 'patch-test-FHS-file-names
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "test"
|
(with-directory-excursion "test"
|
||||||
|
@ -515,10 +515,11 @@ messages) using IDLE. Implemented in Go.")
|
||||||
;; Fix some shebangs later generated on the fly.
|
;; Fix some shebangs later generated on the fly.
|
||||||
(("/bin/sh") (which "bash"))))))
|
(("/bin/sh") (which "bash"))))))
|
||||||
(add-before 'check 'pass-PATH-to-tests
|
(add-before 'check 'pass-PATH-to-tests
|
||||||
;; ‘runtest’ launches each test through ‘env -’, clearing $PATH. The
|
;; ‘runtest’ launches each test through ‘env -’, clearing
|
||||||
;; tests then source ‘functions’, which first demands a working $PATH
|
;; $PATH. The tests then source ‘functions’, which first
|
||||||
;; only to clobber it later. Pass our $PATH to the test environment
|
;; demands a working $PATH only to clobber it later. Pass
|
||||||
;; and don't touch it after that.
|
;; our $PATH to the test environment and don't touch it after
|
||||||
|
;; that.
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "test"
|
(with-directory-excursion "test"
|
||||||
(substitute* "runtests"
|
(substitute* "runtests"
|
||||||
|
@ -529,14 +530,15 @@ messages) using IDLE. Implemented in Go.")
|
||||||
(add-before 'check 'delete-failing-tests
|
(add-before 'check 'delete-failing-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "test/tests"
|
(with-directory-excursion "test/tests"
|
||||||
(for-each delete-file
|
(for-each
|
||||||
|
delete-file
|
||||||
(list
|
(list
|
||||||
;; XXX ‘nullmailer-inject: nullmailer-queue failed: 15’
|
;; XXX ‘nullmailer-inject: nullmailer-queue failed: 15’
|
||||||
"inject/queue"
|
"inject/queue"
|
||||||
;; XXX These require the not-yet-packaged tcpserver.
|
;; XXX These require the not-yet-packaged tcpserver.
|
||||||
"protocols" "smtp-auth")))))
|
"protocols" "smtp-auth")))))
|
||||||
(add-before 'install 'skip-install-data-local
|
(add-before 'install 'skip-install-data-local
|
||||||
;; Don't attempt to install run-time files outside of the store.
|
;; Don't try to install run-time files outside of the store.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
((" install-data-local") "")))))))
|
((" install-data-local") "")))))))
|
||||||
|
|
Reference in a new issue