[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: shepherd@1.0: Add dependency on gzip and zstd.
From: |
guix-commits |
Subject: |
01/12: gnu: shepherd@1.0: Add dependency on gzip and zstd. |
Date: |
Thu, 16 Jan 2025 16:41:23 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit c76a4ffad4ae88f49ddf60e287154d14a1e7be7e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 11 15:42:55 2024 +0100
gnu: shepherd@1.0: Add dependency on gzip and zstd.
* gnu/packages/admin.scm (shepherd-1.0)[arguments]: New field.
[inputs]: New field.
Change-Id: If21f876bbf3fba933a8d997a95db91b961adfca3
---
gnu/packages/admin.scm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 85bd7e70e7..7b4cf118f5 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012-2024 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012-2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014, 2015, 2016, 2018, 2019, 2020 Mark H Weaver
<mhw@netris.org>
;;; Copyright © 2014, 2015-2018, 2020-2023 Eric Bavier <bavier@posteo.net>
@@ -431,7 +431,19 @@ interface and is based on GNU Guile.")
version ".tar.gz"))
(sha256
(base32
- "1i8h4wp11nkn85vj79yh2sgzh5adgdvi6fgng4gkniycw58h0pc9"))))))
+ "1i8h4wp11nkn85vj79yh2sgzh5adgdvi6fgng4gkniycw58h0pc9"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments shepherd-0.10)
+ ((#:configure-flags flags #~'())
+ #~(list "--localstatedir=/var"
+
+ ;; Gzip and zstd are used by the log rotation service.
+ (string-append "--with-gzip=" #$(this-package-input "gzip")
+ "/bin/gzip")
+ (string-append "--with-zstd=" #$(this-package-input "zstd")
+ "/bin/zstd")))))
+ (inputs (modify-inputs (package-inputs shepherd-0.10)
+ (append gzip zstd)))))
(define-public shepherd shepherd-0.10)
- branch master updated (94cd4227bd -> a42d57a935), guix-commits, 2025/01/16
- 02/12: system: Add zstd to ‘%base-packages’., guix-commits, 2025/01/16
- 01/12: gnu: shepherd@1.0: Add dependency on gzip and zstd.,
guix-commits <=
- 03/12: services: Add ‘log-rotation-service-type’., guix-commits, 2025/01/16
- 04/12: services: log-cleanup: Rewrite as a Shepherd timer., guix-commits, 2025/01/16
- 05/12: services: unattended-upgrade: Rewrite as a Shepherd timer., guix-commits, 2025/01/16
- 06/12: services: Switch from mcron + Rottlog to Shepherd’s log rotation., guix-commits, 2025/01/16
- 07/12: services: rottlog: Deprecate., guix-commits, 2025/01/16
- 08/12: news: Add entry for ‘rottlog-service-type’ deprecation., guix-commits, 2025/01/16
- 09/12: home: services: Add log rotation service., guix-commits, 2025/01/16
- 10/12: home: Define ‘%base-home-services’., guix-commits, 2025/01/16
- 11/12: home: Add log rotation to ‘%base-home-services’., guix-commits, 2025/01/16
- 12/12: news: Add entry for ‘%base-home-services’., guix-commits, 2025/01/16