summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b6aba4c38b..f485ea9bfe 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1972,11 +1972,20 @@ displays a table of current bandwidth usage by pairs of hosts.")
version ".tar.xz"))
(sha256
(base32
- "1nj486bbg1adfg298zck96vgx57kchcypc1zdz1n7w540vyksxcr"))))
+ "1nj486bbg1adfg298zck96vgx57kchcypc1zdz1n7w540vyksxcr"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Don't insist on write access to /var.
+ (substitute* "src/etc/Makefile.in"
+ (("\\$\\(INSTALL\\)(.*)localstatedir" _ middle)
+ (string-append "-$(INSTALL)" middle "localstatedir")))
+ #t))))
(inputs
`(("openssl" ,openssl)
("libgcrypt" ,libgcrypt)))
(build-system gnu-build-system)
+ (arguments '(#:configure-flags '("--localstatedir=/var")))
(home-page "https://dun.github.io/munge/")
(synopsis "Cluster computing authentication service")
(description