mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -05:00
gnu: Add bash-with-syslog.
* gnu/packages/bash.scm (bash-with-syslog): New variable.
This commit is contained in:
parent
62d2c36e77
commit
0a17eee8eb
1 changed files with 17 additions and 0 deletions
|
@ -269,6 +269,23 @@ (define-public static-bash
|
||||||
(delete-file-recursively (string-append out "/share"))
|
(delete-file-recursively (string-append out "/share"))
|
||||||
#t))))))))))
|
#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
|
(define-public bash-completion
|
||||||
(package
|
(package
|
||||||
(name "bash-completion")
|
(name "bash-completion")
|
||||||
|
|
Loading…
Reference in a new issue