[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: Add bash-with-syslog.
From: |
guix-commits |
Subject: |
04/09: gnu: Add bash-with-syslog. |
Date: |
Mon, 20 Dec 2021 17:36:26 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 0a17eee8ebd7847085419028ce6e1f44238cb8f9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 20 00:33:51 2021 +0100
gnu: Add bash-with-syslog.
* gnu/packages/bash.scm (bash-with-syslog): New variable.
---
gnu/packages/bash.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index cf40ee9..7275856 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -269,6 +269,23 @@ without modification.")
(delete-file-recursively (string-append out "/share"))
#t))))))))))
+(define-public bash-with-syslog
+ (package
+ (inherit bash)
+ (name "bash-with-syslog")
+ (arguments
+ (substitute-keyword-arguments (package-arguments bash)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'enable-syslogging
+ (lambda _
+ (substitute* "config-top.h"
+ (("/\\* #define SYSLOG_HISTORY \\*/")
+ "#define SYSLOG_HISTORY"))))))))
+ (description
+ "Bash is the shell, or command-line interpreter, of the GNU system. This
+variant logs the history to syslog.")))
+
(define-public bash-completion
(package
(name "bash-completion")
- branch master updated (a34a13c -> 5894b12), guix-commits, 2021/12/20
- 01/09: gnu: Add concurrentqueue., guix-commits, 2021/12/20
- 02/09: gnu: rocksdb: Update to 6.26.1., guix-commits, 2021/12/20
- 04/09: gnu: Add bash-with-syslog.,
guix-commits <=
- 03/09: gnu: sortmerna: Update to 4.3.4., guix-commits, 2021/12/20
- 05/09: gnu: ceph: Update to 16.2.7., guix-commits, 2021/12/20
- 06/09: gnu: ceph: Simplify source snippet., guix-commits, 2021/12/20
- 07/09: gnu: leveldb: Remove --no-rtti flag., guix-commits, 2021/12/20
- 08/09: gnu: opencv: Remove trailing #T from snippet., guix-commits, 2021/12/20
- 09/09: gnu: opencv: Update to 4.5.4., guix-commits, 2021/12/20