summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/bash.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index cf40ee94f60..72758560cde 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -269,6 +269,23 @@ without modification.")
269 (delete-file-recursively (string-append out "/share")) 269 (delete-file-recursively (string-append out "/share"))
270 #t)))))))))) 270 #t))))))))))
271 271
272(define-public bash-with-syslog
273 (package
274 (inherit bash)
275 (name "bash-with-syslog")
276 (arguments
277 (substitute-keyword-arguments (package-arguments bash)
278 ((#:phases phases '%standard-phases)
279 `(modify-phases ,phases
280 (add-after 'unpack 'enable-syslogging
281 (lambda _
282 (substitute* "config-top.h"
283 (("/\\* #define SYSLOG_HISTORY \\*/")
284 "#define SYSLOG_HISTORY"))))))))
285 (description
286 "Bash is the shell, or command-line interpreter, of the GNU system. This
287variant logs the history to syslog.")))
288
272(define-public bash-completion 289(define-public bash-completion
273 (package 290 (package
274 (name "bash-completion") 291 (name "bash-completion")