[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: chrony: Use G-expressions.
From: |
guix-commits |
Subject: |
03/08: gnu: chrony: Use G-expressions. |
Date: |
Sun, 13 Aug 2023 22:55:49 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 8b40e1ea157438b8d7b614dad80be8eede05c938
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 6 02:00:00 2023 +0200
gnu: chrony: Use G-expressions.
* gnu/packages/ntp.scm (chrony)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/ntp.scm | 47 +++++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 5592ed30fc..3b56580842 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -57,28 +57,31 @@
(base32 "123h2a9rpc6wbvnysvhl5pmckvynzrnqay7l00i18azrvbk0gyza"))))
(build-system gnu-build-system)
(arguments
- `(#:modules ((srfi srfi-26)
- (guix build utils)
- (guix build gnu-build-system))
- #:configure-flags
- (list "--enable-scfilter"
- "--with-sendmail=sendmail"
- "--with-user=chrony")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'stay-inside-out
- ;; Simply setting CHRONYVARDIR to something nonsensical at install
- ;; time would result in nonsense file names in man pages.
- (lambda _
- (substitute* "Makefile.in"
- (("mkdir -p \\$\\(DESTDIR\\)\\$\\(CHRONYVARDIR\\)") ":"))))
- (add-after 'install 'install-more-documentation
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (string-append out "/share/doc/" ,name "-" ,version)))
- (for-each (cut install-file <> doc)
- (list "README" "FAQ"))
- (copy-recursively "examples" (string-append doc
"/examples"))))))))
+ (list
+ #:modules
+ '((srfi srfi-26)
+ (guix build utils)
+ (guix build gnu-build-system))
+ #:configure-flags
+ #~(list "--enable-scfilter"
+ "--with-sendmail=sendmail"
+ "--with-user=chrony")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'stay-inside-out
+ ;; Simply setting CHRONYVARDIR to something nonsensical at install
+ ;; time would result in nonsense file names in man pages.
+ (lambda _
+ (substitute* "Makefile.in"
+ (("mkdir -p \\$\\(DESTDIR\\)\\$\\(CHRONYVARDIR\\)") ":"))))
+ (add-after 'install 'install-more-documentation
+ (lambda _
+ (let* ((doc (string-append #$output "/share/doc/"
+ #$name "-" #$version)))
+ (for-each (cut install-file <> doc)
+ (list "README" "FAQ"))
+ (copy-recursively "examples"
+ (string-append doc "/examples"))))))))
(native-inputs
(list pkg-config))
(inputs
- branch master updated (be6f5edd44 -> b15381460e), guix-commits, 2023/08/13
- 01/08: gnu: libcloudproviders: Remove redundant version field., guix-commits, 2023/08/13
- 02/08: gnu: chrony: Update to 4.4., guix-commits, 2023/08/13
- 05/08: gnu: libxmlb: Update to 0.3.12., guix-commits, 2023/08/13
- 08/08: gnu: Remove duplicate import in (gnu packages mail)., guix-commits, 2023/08/13
- 03/08: gnu: chrony: Use G-expressions.,
guix-commits <=
- 07/08: gnu: rspamd: Sort inputs., guix-commits, 2023/08/13
- 04/08: gnu: openssh: Update to 9.4p1., guix-commits, 2023/08/13
- 06/08: gnu: rspamd: Update to 3.6., guix-commits, 2023/08/13