GNU bug report logs -
#78254
Replacement variables in guix-daemon.service
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
It appears guix-daemon.service leaks some replacement variables defined in
guix-daemon.service.in, e.g.:
--8<---------------cut here---------------start------------->8---
Environment='GUIX_STATE_DIRECTORY=/var/guix'
'GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale'
LC_ALL=en_US.utf8
# Run under a dedicated unprivileged user account.
User=guix-daemon
# Bind-mount the store read-write in a private namespace, to counter the
# effect of 'gnu-store.mount'.
PrivateMounts=true
BindPaths=@storedir@
--8<---------------cut here---------------end--------------->8---
From what I can tell, it looks like the replacement is done by nix/local.mk
(as opposed to self.scm), and the sed script there doesn't include all
variables, nor is it replacing matched patterns globally.
Thanks,
Ido.
[Message part 2 (text/html, inline)]
This bug report was last modified 40 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.