3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

295 commits

Author SHA1 Message Date
Zhu Zihao a4458eb0ea
news: Add 'zh' translation.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-02-22 12:07:45 +01:00
Florian Pelz fb2498aaa1
news: Add ‘de’ translation. 2021-02-18 10:48:37 +00:00
Mathieu Othacehe 3acf140736
news: Add entry for "guix system image".
* etc/news.scm: New entry.
2021-02-17 13:30:30 +01:00
Mathieu Othacehe ee2a5da80a
scripts: system: Remove 'vm-image' command.
Remove the 'vm-image' command that has been superseded by the 'image'
command.

* gnu/system/vm.scm (system-qemu-image): Remove it.
* guix/scripts/system.scm (system-derivation-for-action): Mark 'vm-image'
command as deprecated and use the image API to produce the VM image.
(perform-action, show-help): Adapt accordingly.
* tests/guix-system.sh: Ditto.
* doc/guix.texi (Invoking guix system,
Running Guix in a VM): Ditto.
* etc/completion/fish/guix.fish: Ditto.
* etc/completion/zsh/_guix: Ditto.
2021-02-17 10:52:28 +01:00
Ludovic Courtès 2972287490
news: Add 'fr' translation. 2021-02-09 23:38:33 +01:00
Ludovic Courtès e342f89b4c
etc: 'guix-publish.service' depends on 'guix-daemon.service'.
Reported by Dimitri Delabroye <dimitri.delabroye@inria.fr>.

* etc/guix-publish.service.in (Requires, PartOf, After): New fields.
2021-02-09 23:38:33 +01:00
Florian Pelz 5e01f68a93
news: Add ‘de’ translation. 2021-02-09 10:16:49 +00:00
Ludovic Courtès b421b2f66e
news: Add news entry for local privilege escalation.
* etc/news.scm: Add entry.
2021-02-09 10:09:09 +01:00
Florian Pelz 786a8c5803
news: Add ‘de’ translation. 2021-02-03 16:49:59 +00:00
Ludovic Courtès 15078567c1
news: Add entry for '--export-manifest' and '--export-channels'.
* etc/news.scm: Add entry.
2021-02-01 17:58:05 +01:00
Florian Pelz 4fce867ddf
news: Add ‘de’ translation. 2021-01-21 15:02:41 +00:00
Ludovic Courtès ff34f8a693
news: Add entry for '--with-latest'.
* etc/news.scm: Add entry.
2021-01-19 18:14:43 +01:00
Florian Pelz edd989d57a
news: Add ‘de’ translation. 2021-01-16 23:26:16 +00:00
Ludovic Courtès 4c21676698
news: Add entry for zstd support.
* etc/news.scm: Add entry.
2021-01-14 09:49:07 +01:00
Jakub Kądziołka 9d34b04f40
/etc/profile.d/guix.sh: Add guix pull profile even when absent
* etc/guix-install.sh (sys_create_init_profile): Set PATH and INFOPATH
even when $_GUIX_PROFILE does not exist.

After initial installation on a foreign distro, the guix pull profile
won't be present in path. This means that the first guix pull won't take
effect until the shell is restarted.

~/.guix-profile cannot be pre-loaded like this as the relevant paths are
stored in ~/.guix-profile/etc/profile, which simply won't exist.
However, guix package will output a relevant hint that instructs the
user to reload the profile, so this isn't a problem.
2021-01-03 17:01:26 +01:00
Florian Pelz 551167d008
news: Add ‘de’ translation. 2020-12-27 17:37:44 +00:00
Ludovic Courtès d21f251a35
news: Add entry for '--with-patch'.
* etc/news.scm: Add entry.
2020-12-27 17:24:07 +01:00
Morgan Smith d6b0d219c6
etc: snippets: Add new build systems to package snippet.
* etc/snippets/scheme-mode/guix-package: Add the following as possibilities
for the build-system field:

clojure-build-system
copy-build-system
dune-build-system
guile-build-system
julia-build-system
linux-module-build-system
maven-build-system
node-build-system
qt-build-system
rakudo-build-system

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-23 17:30:14 +01:00
Vincent Legoll d2532317d1
guix-install.sh: Add variable quoting and curly-bracketing.
* etc/guix-install.sh (guix_get_bin)[dl_path]: Add variable quoting and
curly-bracketing.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18 12:21:25 +00:00
Vincent Legoll 1f4e878fc4
guix-install.sh: Adjust variable use in guix_get_bin_list().
* etc/guix-install.sh (guix_get_bin_list)[BIN_VER]: Add curly-brackets,
[latest_ver]: Likewise & add explicit array zero-indexing.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18 12:21:15 +00:00
Vincent Legoll b4a1252b71
guix-install.sh: Add variable quoting in sys_make_guix_available.
* etc/guix-install.sh (sys_make_guix_available): Add variable quoting.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18 12:21:11 +00:00
Vincent Legoll 7c16406809
guix-install.sh: Replace tabs with spaces.
Almost the entire file is indented with spaces, a few tabs slipped in, clean
them up.

* etc/guix-install.sh(chk_sys_arch): Replace tabs with spaces.
(sys_enable_guix_daemon): Likewise.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18 12:20:59 +00:00
Leo Famulari 80ebcdd100
maint: Only run make authenticate when pushing commits.
* etc/git/pre-push: Exit early when deleting a branch.
2020-12-14 12:15:06 -05:00
Miguel Ángel Arruga Vivas 6718ce446c
news: Add 'es' translation. 2020-12-12 02:27:58 +01:00
Marius Bakke d677f3d623
etc: Add more SELinux permissions for the daemon.
* etc/guix-daemon.cil.in (guix_daemon): Permit file write, getattr, link and
unlink for the guix_daemon_exec_t type.
2020-12-10 23:48:42 +01:00
Ludovic Courtès 611ae310f4
bash completion: Complete file names after '-f' and '-l'.
* etc/completion/bash/guix (_guix_is_dash_f, _guix_is_dash_l): New
functions.
(_guix_complete): Complete file names after 'guix package -f', 'guix
build -f', and 'guix environment -l'.
2020-12-04 23:45:08 +01:00
Nicolas Goaziou 39e8bc2ab8
etc: snippets: Fix name extraction.
* etc/snippets/text-mode/guix-commit-message-add-package: Fix name
extraction. This is a follow-up to 988a49c78e.
2020-12-04 18:19:39 +01:00
Nicolas Goaziou 988a49c78e
etc: snippets: Fix name extraction.
* etc/snippets/text-mode/guix-commit-message-update-package: Since git commit
mode is not derived from any Lisp mode, so-called sexp or symbols do not
include the period character.  As a consequence, names including versions are
not properly extracted. Also use more idiomatic (goto-char (point-min))
instead of (beginning-of-buffer).
2020-12-04 17:09:38 +01:00
Nicolas Goaziou 2c0b331c9a
news: Fix typo.
* etc/news.scm (version): Add missing @option macro in French translation.
2020-12-01 09:36:44 +01:00
Florian Pelz 79613ec8fc
news: Add ‘de’ translation. 2020-11-29 19:33:36 +00:00
Mathieu Othacehe 7a584b0e56
news: Add entry for substitute servers discovery.
* etc/news.scm: Add entry.
2020-11-29 16:57:19 +01:00
Marius Bakke 1807632393
etc: Add more SELinux permissions for the daemon.
* etc/guix-daemon.cil.in (guix_daemon): Permit more operations required for
various build jobs.
2020-11-27 21:33:59 +01:00
Florian Pelz 1485736b94
news: Add ‘de’ translation. 2020-11-26 12:34:12 +00:00
Marius Bakke 402ebffe19
etc: Add more SELinux permissions for the daemon.
* etc/guix-daemon.cil.in (guix_daemon): Permit file appending, setattr,
read/write UDP sockets, access to tmpfs and hugetlbfs, and connecting to
PostgreSQL.
2020-11-26 00:31:47 +01:00
Ludovic Courtès ae902124c1
news: Add entry for LVM support.
* etc/news.scm: Add entry.
2020-11-26 00:06:42 +01:00
Marius Bakke d64e0261d0
etc: Add more SELinux permissions for the daemon.
This is needed for some package test suites.

* etc/guix-daemon.cil.in (guix_daemon): Permit unix_dgram_socket operations.
2020-11-25 23:24:52 +01:00
Pierre Neidhardt 402f1104e5
etc: snippets: Fix "gnu: Add ..." name when prefilling Common Lisp commits messages.
* etc/snippets/text-mode/guix-commit-message-add-cl-package: Fix name and
simplify the "New variables" line.
2020-11-25 10:45:42 +01:00
Pierre Neidhardt add4749917
etc: snippets: Prefill Common Lisp package names.
* etc/snippets/text-mode/guix-commit-message-add-cl-package: New file.
2020-11-23 11:14:22 +01:00
Pierre Neidhardt 8307b8f184
etc: snippets: Fix package name extraction.
* etc/snippets/text-mode/guix-commit-message-add-package: Properly extract
name when the diff contains a very short `define-public ...` above the actual
new package.  This can happen when the above package is a small inherited
definition or cl/ecl package.
2020-11-23 11:13:58 +01:00
Maxim Cournoyer 129b9b16d9
Merge remote-tracking branch 'origin/version-1.2.0' into master
Conflicts:
	gnu/packages/bioinformatics.scm

The python-pysam package fixed in master was kept instead of the update done
in the version-1.2.0 branch.
2020-11-17 18:00:28 -05:00
Daniel Brooks 8311e4e1d1
guix-install.sh: don't throw away release candidates when picking the latest version
* etc/guix-install.sh (guix_get_bin_list): modify regexes to allow rcN syntax

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-15 22:31:20 +01:00
Daniel Brooks 62343288ef
etc: Updates for the guix-daemon SELinux policy.
* etc/guix-daemon.cil.in (guix_daemon): Specify more permissions for
guix-daemon to account for daemon updates and newer SELinux.

I can't promise that this is a complete list of everything that guix-daemon
needs, but it's probably most of them. It can search for, install, upgrade,
and remove packages, create virtual machines and containers, update itself,
and so on.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-11-15 16:08:47 +01:00
Ludovic Courtès 19e2898c80
maint: Reduce the package set for "i586-gnu".
* etc/release-manifest.scm (%base-packages/hurd): New variable.
(%base-manifest): Use it when SYSTEM is "i586-gnu".
2020-11-08 16:58:30 +01:00
Florian Pelz 02c3c51e0c
news: Add ‘de’ translation.
* etc/news.scm: Add ‘de’ translation.
2020-10-22 08:52:41 +00:00
Miguel Ángel Arruga Vivas d018559063
news: Add 'es' translation. 2020-10-26 15:57:35 +01:00
Ludovic Courtès cedb07965d
news: Add entry for the declarative substitute ACL.
* etc/news.scm: Add entry.
2020-10-25 01:06:34 +02:00
Florian Pelz 14417fc05c
news: Add ‘de’ translation.
* etc/news.scm: Add ‘de’ translation.
2020-10-22 08:22:22 +00:00
Miguel Ángel Arruga Vivas 5fff5dbeec
news: Add 'es' translation. 2020-10-20 21:38:03 +02:00
Ludovic Courtès 5f92f51955
news: Add entry for '--with-debug-info'.
* etc/news.scm: Add entry.
2020-10-20 16:31:01 +02:00
zimoun b2683a2bed
guix-install.sh: Check the service 'nscd' and suggest it.
Fixes <https://bugs.gnu.org/43744>.

* etc/guix-install.sh (chk_sys_nscd): New function to check if the service
'nscd is running, otherwise suggest to install distribution-wide.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-16 15:00:50 +02:00
zimoun b3fba5ef04
guix-install.sh: Add symbolic links for supported shell completions.
Fixes <https://bugs.gnu.org/43744>.

* etc/guix-install.sh (sys_create_shell_completion): New function to add
system wide all the symlinks for supported shell completions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-16 15:00:50 +02:00
Florian Pelz dad56a2b5b
news: Add ‘de’ translation.
* etc/news.scm: Add ‘de’ translation.
2020-10-14 06:47:08 +00:00
Jan (janneke) Nieuwenhuizen 1197b8b20f
installer: Add Emacs EXWM desktop environment.
Suggested by zenny via IRC.

* gnu/installer/services.scm (%system-services): Add emacs, emacs-exwm,
emacs-desktop-environment.
* etc/release-manifest.scm (%system-packages): Likewise.
* gnu/system/examples/lightweight-desktop.tmpl: Likewise.
* gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests)
[packages]: Likewise
* gnu/installer/newt/services.scm (run-desktop-environments-cbt-page): Make
one entry taller.
2020-10-13 21:17:40 +02:00
Ludovic Courtès a2ed00f79f
news: Add entry for '--with-c-toolchain'.
* etc/news.scm: Add entry.
2020-10-12 18:24:38 +02:00
Florian Pelz 9a7bea11d6
news: Update copyright.
* etc/news.scm: Add missing copyright headers.
2020-10-12 09:33:39 +00:00
Miguel Ángel Arruga Vivas e746d30ec1
news: Add 'es' translation.
* etc/news.scm: Add Spanish translation.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2020-10-12 07:08:10 +00:00
Ricardo Wurmus 59fe30a3a8
etc: committer: Use EQUAL? instead of EQ? for differences.
* etc/committer.scm.in (commit-message): Use EQUAL? instead of EQ? to compute
differences because not all inputs may be symbols; some could be expressions.
2020-10-06 00:34:59 +02:00
Florian Pelz b7937ef79f
news: Add ‘de’ translation.
* etc/news.scm: Add ‘de’ translation.
2020-10-02 22:18:25 +00:00
Ludovic Courtès a73bd30750
news: Add entry for transformation option record/replay.
* etc/news.scm: Add entry.
2020-10-02 23:28:29 +02:00
Florian Pelz 124562df27
news: Add ‘de’ translation.
* etc/news.scm: Add ‘de’ translation.
2020-10-01 06:32:15 +00:00
Mathieu Othacehe f2b8abc2a1
news: Add entry for 'image-type' option.
* etc/news.scm: Add a new entry.
2020-09-30 11:38:12 +02:00
Florian Pelz fbc15e5485
news: Fix typo in ‘fr’ translation.
* etc/news.scm: Update ‘fr’ translation.
2020-09-29 06:29:57 +00:00
Ludovic Courtès be49f1133d
news: Add ‘fr’ translations.
* etc/news.scm: Add ‘fr’ translations.
2020-09-28 11:58:08 +02:00
Florian Pelz 2f7b3cb4bd
news: Add ‘de’ translations.
* etc/news.scm: Add ‘de’ translations.
2020-09-28 08:53:17 +00:00
Ludovic Courtès 6f04c0b702
news: Add news entry for '--without-tests'.
* etc/news.scm: Add entry.
2020-09-27 23:24:42 +02:00
Ludovic Courtès db17af70f6
news: Add entry for deep graph rewriting.
* etc/news.scm: Add entry.
2020-09-27 23:24:41 +02:00
Ludovic Courtès 8e0c5033b1
bash completion: Adjust to new 'guix help' output.
This is a followup to 3794ce93be, which
broke command completion.

Reported by Oleg Pykhalov <go.wigust@gmail.com>.

* etc/completion/bash/guix (_guix_complete_command): Update to match
output of 'guix help' as introduced in
3794ce93be.
2020-09-24 17:53:02 +02:00
Fulbert 92951bf46c
bash completion: Complete file names after 'guix package -p'.
* etc/completion/bash/guix (_guix_complete): Add _guix_is_dash_p.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-21 23:33:49 +02:00
Morgan Smith cabac732de
guix-install.sh: Support OpenRC.
* etc/guix-install.sh (chk_init_sys): Detect OpenRC.
(sys_enable_guix_daemon): Install & enable the Guix daemon on such
systems.
* etc/openrc/guix-daemon.in: New file.
* nix/local.mk: Add a rule for it.
(openrcservicedir, nodist_openrcservice_DATA): New variables.
(CLEANFILES, EXTRA_DIST): Add them.
* .gitignore: Ignore etc/openrc/guix-daemon.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-09-17 14:10:42 +02:00
Morgan Smith f72bafe32d
guix-install.sh: Be POSIX-compliant.
* etc/guix-install.sh (guix_get_bin_list): Call grep with an extended
regular expression instead of a non-POSIX Perl regular expression.
(sys_create_store): Remove ‘--warning=no-timestamp’ argument to tar.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-09-17 14:10:42 +02:00
Ludovic Courtès 2ba81afcc2
bash completion: Restore completion for 'guix system', etc.
Commit 538ca8dd65 introduced a second
'_guix_complete_subcommand' function, shadowing the existing one, which
broke sub-command completion for 'guix system', 'guix import', etc.

* etc/completion/bash/guix: Distinguish between '_guix_complete_command'
and '_guix_complete_subcommand'.  Adjust users to call the right one.
2020-09-10 12:27:24 +02:00
Ludovic Courtès ea0da48681
guix-install.sh: Quote the OpenPGP key URL.
Without quotes, zsh fails with "no matches found" as it tries to
interpret the question mark.

* etc/guix-install.sh (chk_gpg_keyring): Enclose URL in single quotes.
2020-09-09 09:28:12 +02:00
Tobias Geerinckx-Rice 275e66b8b4
etc: indent-code.el: Match not only ‘(define-public’.
* etc/indent-code.el (main): Also match ‘(define’, as intended.
2020-08-18 23:54:55 +02:00
Tobias Geerinckx-Rice 2ffd1314cd
guix-install.sh: Make sure /etc/profile is sourced.
New users regularly report missing newly-installed programmes and icons.

* etc/guix-install.scm (main): Tell users to log out & back in.
2020-07-16 20:12:07 +02:00
Tobias Geerinckx-Rice 4089d7920f
guix-install.sh: Suggest running gpg as root.
The original example regularly prevented new users from installing Guix
at all.

* etc/guix-install.scm (chk_gpg_keyring): Suggest ‘sudo -i gpg’.
2020-07-16 20:12:07 +02:00
Ludovic Courtès 8003a5adaf
news: Add ‘fr’ translation.
* etc/news.scm: Add ‘fr’ translation.
2020-07-15 01:36:24 +02:00
Tobias Geerinckx-Rice d6f303d4e5
etc: Enable mount unit only if it exists.
* etc/guix-install.sh (sys_enable_guix_daemon): Enable gnu-store.mount only
if it was actually installed.

Reported by peanutbutterandc on #guix.
2020-07-14 13:17:13 +02:00
Florian Pelz f2dce740b2
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-07-11 14:44:45 +00:00
Ludovic Courtès 62b8bbc2c2
news: Add entry for 'guix git authenticate'.
* etc/news.scm: Add entry.
2020-07-11 12:42:58 +02:00
Ludovic Courtès 4b9b8b2ec2
Add 'etc/historical-authorizations'.
* etc/historical-authorizations: New file.  Data extracted from
'build-aux/git-authenticate.scm'.
* Makefile.am (EXTRA_DIST): Add it.
2020-07-11 11:51:56 +02:00
Ludovic Courtès d283bb960f
maint: Remove traces of "berlin.guixsd.org".
The guixsd.org domain is no longer advertised since before in 1.0.0
release in May 2019.

* etc/substitutes/berlin.guixsd.org.pub: Rename to...
* etc/substitutes/berlin.guix.gnu.org.pub: ... this.
* etc/substitutes/ci.guix.gnu.org.pub,
etc/substitutes/ci.guix.info.pub: Adjust accordingly.
* gnu/services/base.scm (%default-authorized-guix-keys): Likewise.
* guix/build/download-nar.scm (urls-for-item): Likewise.
* guix/self.scm (miscellaneous-files): Likewise.
* Makefile.am (dist_pkgdata_DATA): Likewise.
2020-07-10 00:11:00 +02:00
Ludovic Courtès 4b4f890cb0
bash completion: Complete 'guix environment' properly.
* etc/completion/bash/guix (_guix_complete): Add case for "guix environment".
2020-06-27 23:42:20 +02:00
Ludovic Courtès 13870bbe44
news: Add 'fr' translation.
* etc/news.scm: Add French translation.
2020-06-20 13:18:11 +02:00
Florian Pelz 42ed562691
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-06-19 06:44:48 +00:00
Ludovic Courtès cb8c698e8d
news: Add entry for authenticated channels.
* etc/news.scm: Add entry.
2020-06-17 19:32:43 +02:00
Ricardo Wurmus 76a841cc8b
etc: Add committer script.
* etc/committer.scm.in: New file.
* configure.ac: Configure it.
2020-06-16 11:32:53 +02:00
Konrad Hinsen fdc9e9f53d
news: Add entry for script execution via "guix repl".
* etc/news.scm: Add entry.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-15 09:52:20 +02:00
Ludovic Courtès 538ca8dd65
bash completion: Complete sub-commands after 'guix time-machine'.
* etc/completion/bash/guix (_guix_complete_subcommand): New function.
(_guix_complete): Use it.  For "time-machine", call
'_guix_complete_subcommand' by default.
2020-06-04 23:26:43 +02:00
Ludovic Courtès b7bb381ba3
bash completion: Complete file names after '-p' and '-C'.
* etc/completion/bash/guix (_guix_is_dash_C, _guix_is_dash_p): New functions.
(_guix_complete): Honor them for "install", "remove", "upgrade", "pull",
and "time-machine".
2020-06-04 23:26:43 +02:00
Ludovic Courtès 6f6758c45d
maint: Adjust comment in 'pre-push' hook.
* etc/git/pre-push: Adjust comment.
2020-06-01 00:51:38 +02:00
Ludovic Courtès e65a44649e
maint: Git pre-push hook runs "make authenticate check-channel-news".
* etc/git/pre-push: Change to run "make authenticate check-channel-news".
2020-05-29 18:31:38 +02:00
Vincent Legoll dc1aede30a
guix-install.sh: Fix ‘systemctl not found’ error message at probe.
* etc/guix-install.sh (chk_init_sys): Redirect systemctl errors to
/dev/null.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-23 15:37:58 +02:00
Vincent Legoll 39939e30cf
guix-install.sh: Add xz to requirements.
* etc/guix-install.sh (REQUIRE): Add xz to requirements list.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-23 15:37:58 +02:00
Florian Pelz fabfa9afb4
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-05-21 09:54:48 +00:00
Tobias Geerinckx-Rice 52c463a9ca
news: Add ‘nl’ translation.
* etc/news.scm: Add an ‘nl’ ‘translation’.
2020-05-20 21:48:07 +02:00
Tobias Geerinckx-Rice ebf5e53c7d
news: Remove superfluous closing bracket.
* etc/news.scm: Use an equal number of ‘(’s and ‘)’s.
2020-05-20 21:48:07 +02:00
Maxim Cournoyer 12df6684b9
news: Add missing closing parentheses.
This broke 'guix pull'.  Apologies!

* etc/news.scm: Fix the latest entry.
2020-05-20 09:09:35 -04:00
Maxim Cournoyer 1271c14f65
news: Update copyright.
* etc/news.scm: Update copyright, as a follow-up to 489699c456.
2020-05-20 08:41:33 -04:00
Maxim Cournoyer 489699c456
news: Add entry for Btrfs subvolume boot support.
* etc/news.scm: Add entry.
2020-05-20 08:31:13 -04:00
Tobias Geerinckx-Rice ebbf915422
etc: Install mount unit only if it exists.
This follows up on 1a1faa78b0, 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.
2020-05-17 14:12:35 +02:00