etc: Install mount unit only if it exists.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sun, 17 May 2020 12:09:43 +0000 (14:09 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sun, 17 May 2020 13:16:58 +0000 (15:16 +0200)
commiteb02ba2d630779c20946bda212be23c714b7ac34
treeba5b907e318c5198e32c2093408d8463f50dd961
parenta9ca7998f7823373f1da486fb27b95f4e4995239
etc: Install mount unit only if it exists.

This follows up on 1a1faa78b0498fbb71f1533beb4b65817c1d3f2a, and avoids
the (non-fatal) error seen in <https://issues.guix.gnu.org/41356>.

/gnu/store will remain writable on new foreign distribution
installations until the next release.

* etc/guix-install.sh (sys_enable_guix_daemon): Check for
‘gnu-store.mount’ presence before trying to cp it.
Update forgotten copyright header.
etc/guix-install.sh
nix/local.mk