me
/
guix
Archived
1
0
Fork 0

guix-install.sh: Unconditionally install gnu-store.mount.

* etc/guix-install.sh (sys_enable_guix_daemon):
Remove obsolete conditional.
master
Tobias Geerinckx-Rice 2023-07-09 02:00:04 +02:00
parent 49f74b67a4
commit 67790e7f2f
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 7 deletions

View File

@ -437,13 +437,11 @@ sys_enable_guix_daemon()
{ # systemd .mount units must be named after the target directory. { # systemd .mount units must be named after the target directory.
# Here we assume a hard-coded name of /gnu/store. # Here we assume a hard-coded name of /gnu/store.
# XXX Work around <https://issues.guix.gnu.org/41356> until next release. # XXX Work around <https://issues.guix.gnu.org/41356> until next release.
if [ -f ~root/.config/guix/current/lib/systemd/system/gnu-store.mount ]; then cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \
cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \ /etc/systemd/system/;
/etc/systemd/system/; chmod 664 /etc/systemd/system/gnu-store.mount;
chmod 664 /etc/systemd/system/gnu-store.mount; systemctl daemon-reload &&
systemctl daemon-reload && systemctl enable gnu-store.mount;
systemctl enable gnu-store.mount;
fi
cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \
/etc/systemd/system/; /etc/systemd/system/;