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 12:12:35 +0000 (14:12 +0200)
commitebbf91542269fcb36d64928d4a4992e6afbf2acf
treecbefaf07d6b1e95383bdd8e32ab1f65854cf6192
parent677515739e07cf6e99b70fa3cae5955a664566c7
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