Commit graph

439 commits

Author SHA1 Message Date
Ludovic Courtès
8c97013ef5
news: Add entry for 'guix graph --path'.
* etc/news.scm: Add entry.
2020-05-11 23:31:23 +02:00
Florian Pelz
a448537c8d
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-05-10 07:06:07 +00:00
Marius Bakke
f589cbc4dc
Merge branch 'master' into core-updates 2020-04-26 13:48:06 +02:00
Florian Pelz
e54acdfe16
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-04-25 20:09:31 +00:00
Marius Bakke
69c2e0103a
news: Add entry for the glibc 2.31 upgrade.
* etc/news.scm: Add entry for a33eac038a.
2020-04-24 00:39:28 +02:00
Marius Bakke
030f6f489f
Merge branch 'master' into core-updates
Conflicts:
	etc/news.scm
	gnu/local.mk
	gnu/packages/bootloaders.scm
	gnu/packages/linphone.scm
	gnu/packages/linux.scm
	gnu/packages/tls.scm
	gnu/system.scm
2020-04-23 13:33:09 +02:00
Ludovic Courtès
f224635578
news: Add entry for the cookbook.
* etc/news.scm: Add entry for the cookbook.
2020-04-21 23:52:35 +02:00
Jan (janneke) Nieuwenhuizen
cfd7fc6dd9
news: Add entry for the further reduced (aka Scheme-only) bootstrap.
* etc/news.scm: Add entry for the further reduced (aka Scheme-only) bootstrap.
2020-04-17 19:27:07 +02:00
Marius Bakke
bd21acf6c3
Merge branch 'master' into core-updates 2020-04-15 19:26:55 +02:00
Ludovic Courtès
bab1f340b3
maint: Ensure substitutes are available for '%default-xorg-modules'.
* etc/release-manifest.scm (%system-packages): Append
%DEFAULT-XORG-MODULES.
2020-04-14 16:01:05 +02:00
Ludovic Courtès
8e8d984fd6
maint: Actually check for the availablility of system packages.
* etc/release-manifest.scm (%system-manifest): New variable.
<top level>: Add it in 'concatenate-manifests' call.
2020-04-14 16:01:05 +02:00
Marius Bakke
bdb90df764
Merge branch 'master' into core-updates 2020-04-11 00:10:23 +02:00
Florian Pelz
6ff3470fe5
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-04-08 18:53:49 +00:00
Marius Bakke
b1f56712c0
maint: Adjust release manifest for Guile 3.0 switch.
* etc/release-manifest.scm (%packages-to-cross-build): Refer to
GUILE-3.0/FIXED instead of GUILE-2.2/FIXED.
2020-04-08 13:05:34 +02:00
Marius Bakke
2778302399
Merge branch 'master' into core-updates
Conflicts:
	etc/news.scm
	gnu/local.mk
	gnu/packages/check.scm
	gnu/packages/cross-base.scm
	gnu/packages/gimp.scm
	gnu/packages/java.scm
	gnu/packages/mail.scm
	gnu/packages/sdl.scm
	gnu/packages/texinfo.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
2020-04-08 13:00:50 +02:00
Ludovic Courtès
0eb799e669
maint: Cross-build GUILE-2.2/FIXED.
* etc/release-manifest.scm (%packages-to-cross-build): Replace
"guile@2.2" with GUILE-2.2/FIXED.
2020-04-08 00:05:46 +02:00
Ludovic Courtès
1e6fe44da8
maint: Remove GCC from the packages to cross-build.
* etc/release-manifest.scm (%packages-to-cross-build): Remove GCC.
2020-04-07 12:31:36 +02:00
Ludovic Courtès
1a6f09d01b
news: Add entry for 'rottlog-service-type'.
* etc/news.scm: Add entry for 'rottlog-service-type'.
2020-04-06 12:08:14 +02:00
Ludovic Courtès
d8c8bfcc1f
maint: Remove unsupported cross-compilation jobs from 'release-manifest.scm'.
* etc/release-manifest.scm (%packages-to-cross-build-for-mingw): New
variable.
(%cross-manifest): Use it.  Remove "riscv64-linux-gnu" from %CROSS-TARGETS.
2020-04-04 18:52:35 +02:00
Marius Bakke
18af687037
Merge branch 'master' into core-updates
Conflicts:
	gnu/packages/icu4c.scm
	gnu/packages/man.scm
	gnu/packages/python-xyz.scm
	guix/scripts/environment.scm
	guix/scripts/pack.scm
	guix/scripts/package.scm
	guix/scripts/pull.scm
	guix/store.scm
2020-03-27 00:12:15 +01:00
Ludovic Courtès
8b18f5cb30
tests: Use the same source as ci.guix.gnu.org.
* etc/system-tests.scm (system-test-manifest): In 'local-file' call, use
a name that is a function of COMMIT to match what Cuirass does.
2020-03-23 00:06:58 +01:00
Ludovic Courtès
e69b8bbae9
guix-install.sh: /etc/profile.d/guix.sh sources ~/.guix-profile/etc/profile.
* etc/guix-install.sh (sys_create_init_profile): Source
~/.guix-profile/etc/profile instead of running 'guix package
--search-paths=prefix'
2020-03-22 00:02:23 +01:00
Ludovic Courtès
3c69701f97
guix-install.sh: Add a trailing colon to 'INFOPATH'.
Fixes <https://bugs.gnu.org/39984>.
Suggested by Adam Porter <adam@alphapapa.net>.

* etc/guix-install.sh (sys_create_init_profile): Add a trailing colon to
'INFOPATH'.
2020-03-22 00:02:23 +01:00
Ludovic Courtès
680b56116a
news: Add entry for Guile 3.0.
* etc/news.scm: Add entry for Guile 3.0.
2020-03-21 00:36:48 +01:00
Ludovic Courtès
f292c50191
maint: Add 'etc/release-manifest.scm'.
* etc/release-manifest.scm: New file.
* gnu/ci.scm (%cross-targets): Export.
* build-aux/check-available-binaries.scm: Remove.
* Makefile.am (EXTRA_DIST): Add 'etc/release-manifest.scm' and remove
'build-aux/check-available-binaries.scm'.
(assert-binaries-available): Rewrite using 'guix weather -m'.
2020-03-13 17:33:38 +01:00
Danny Milosavljevic
fe60ef998f
guix-install.sh: Install SysV init script.
* etc/guix-install.sh (sys_enable_guix_daemon): Install SysV init script.
2020-03-11 02:45:49 +01:00
Danny Milosavljevic
73fbe04107
Add system start-up files for guix-daemon.
* etc/init.d/guix-daemon.in: New file.
* nix/local.mk (etc/init.d/guix-daemon): New rule.
(nodist_sysvinitservice_DATA): Add etc/init.d/guix-daemon.in .
(CLEANFILES): Add etc/init.d/guix-daemon .
* .gitignore: Add etc/init.d/guix-daemon .
2020-03-11 02:45:33 +01:00
Ludovic Courtès
5ec4156bbc
tests: Add a manifest for system tests.
The manifest can be passed to 'guix build -m', 'guix weather -m', and so
on.  It can also be passed to an installed 'guix' (without
./pre-inst-env), with the exception so far of installation tests.

* build-aux/run-system-tests.scm: Remove.  Move interesting bits move
to...
* etc/system-tests.scm: ... here.  New file.
* Makefile.am (EXTRA_DIST): Remove 'build-aux/run-system-tests.scm' and
add 'etc/system-tests.scm'.
(check-system): Rewrite to run 'guix build -m etc/system-tests.scm'.
2020-03-05 16:33:38 +01:00
Oleg Pykhalov
9a39711438
etc: Add copyright.
* etc/copyright.el: New file.
* doc/contributing.texi (The Perfect Setup): Document this.
2020-02-22 17:56:31 +03:00
Marius Bakke
11415d3506
guix build: Add '--manifest' option.
* guix/scripts/build.scm (show-help): Document --manifest argument.
(options->things-to-build): When given a manifest, evaluate all the entries.
* tests/guix-build.sh: Add test for --manifest.
* doc/guix.texi (Additional Build Options): Mention --manifest.
* etc/completion/bash/guix: Complete file name if 'guix build' argument is
-m.
2020-02-14 17:49:26 +01:00
Tobias Geerinckx-Rice
2c5874e3ed
news: Add ‘nl’ translation.
* etc/news.scm: Add an ‘nl’ translation.
2020-02-08 18:18:00 +01:00
Julien Lepiller
ea4f34d4e0
news: Fix typos in 'fr' translation.
* etc/news.scm: Update 'fr' translation.
2020-02-08 15:22:41 +01:00
Julien Lepiller
726edfd6bd
news: Add 'fr' translations.
* etc/news.scm: Add 'fr' translations.
2020-02-08 13:57:50 +01:00
Florian Pelz
6646798bf0
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2020-02-08 11:26:09 +00:00
Mathieu Othacehe
ac70fc6aa3
news: Add entry for "guix pull" ssh authenticated repositories support.
* etc/news.scm: Add entry for "guix pull" ssh authenticated repositories support.
2020-02-07 09:52:25 +01:00
Alexander Krotov
7ff169d04f
guix-install.sh: Correctly treat empty or unset $XDG_DATA_DIRS
If $XDG_DATA_DIRS is unset, default value of "/usr/local/share:/usr/share"
is used according to XDG Base Directory Specification. However,
/etc/profile.d/guix.sh treats this value as empty list when appending its
own directory, so after installing Guix on the system, launchers such
as Rofi stop searching for .desktop files in /usr/share/applications/
and can't launch applications other than those installed with Guix.

This patch fixes the bug in generated /etc/profile.d/guix.sh

* etc/guix-install.sh (sys_create_init_profile): Use default value of
  /usr/local/share:/usr/share/ before appending if $XDG_DATA_DIRS is not
  set.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26 23:21:39 +01:00
Prafulla Giri
29ba58c0ef
guix-install.sh: Create /etc/profile.d if it does not exist
* etc/guix-install.sh (sys_create_init_profile): Add code to create
/etc/profile.d if it somehow does not exist; the function still carries
on because it is possible that /etc/profile is still configured to read
the *.sh files from /etc/profile.d, if they exist.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26 23:21:39 +01:00
Prafulla Giri
5c03516a6b
guix-install.sh: Export INFOPATH to contain updated guix info-pages
* etc/guix-install.sh (sys_create_init_profile): Export INFOPATH to include
the updated info-pages from ~/.config/guix/current/share/info.  This also makes
sure that both /usr/bin/info and $GUIX_PROFILE/bin/info can read guix info pages
without throwing "no menu item 'guix' in node dir(Top)" error.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26 23:21:39 +01:00
Tobias Geerinckx-Rice
762867313c
news: Add ‘nl’ translation.
* * etc/news.scm: Add ‘nl’ translation.
2020-01-24 18:19:20 +01:00
Florian Pelz
cd17ac4483
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2020-01-24 15:46:24 +00:00
Ludovic Courtès
039cb8e6b1
news: Add entry for Guile 3.0.
* etc/news.scm: Add entry for Guile 3.0.
2020-01-23 23:36:25 +01:00
Prafulla Giri
30810aff71
guix-install.sh: Create an init profile during installation
Create an init profile (/etc/profile.d/guix.sh) during installation for
better integration with foreign distros. This file, read by login-shells
sets a few environment variables (PATH, GUIX_PROFILE, GUIX_LOCALE, along
with XDG_DATA_DIRS) and makes guix-installed packages readily available
for the users. Other environment variables, as listed by `guix package
--search-paths=prefix`, are also exported.

Checks are in place to prevent the init profile from needlessly polluting
the user's environment.

* etc/guix-install.sh (sys_create_init_profile): New function to create
/etc/profile.d/guix.sh init profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-17 17:28:57 +01:00
Florian Pelz
d8421fef1d
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2019-12-12 18:08:56 +00:00
Ludovic Courtès
16b92d0e6e
news: Add entry for "guix challenge --diff".
* etc/news.scm: Add entry for "guix challenge --diff".
2019-12-12 18:17:23 +01:00
Tobias Geerinckx-Rice
32c06affca
guix-install.sh: Use a deterministic umask.
Users with strict umasks (e.g. 0077) would end up with an unreadable
/gnu (mode 0700) and no way to run guix.

Reported by A. <@aaap:matrix.org> on #guix.

* etc/guix-install.sh (main): Set umask before installing anything.
2019-12-04 03:59:04 +01:00
Ludovic Courtès
dc209d5a5d
guix build, daemon: Rename "--no-build-hook" to "--no-offload".
This is a followup to bc69ea2d60.

* guix/scripts/build.scm (show-build-options-help): Rename
"--no-build-hook" to "--no-offload".
(%standard-build-options): Likewise, and warn when "--no-build-hook" is
passed.
* nix/nix-daemon/guix-daemon.cc (options): Add "--no-offload" and mark
"--no-build-hook" as hidden.
* guix/scripts/offload.scm: Adjust comment.
* doc/guix.texi (Invoking guix-daemon, Common Build Options): Replace
"--no-build-hook" with "--no-offload".
* etc/completion/fish/guix.fish, etc/completion/zsh/_guix: Adjust
accordingly.
2019-11-26 00:16:36 +01:00
Florian Pelz
56d951ab80
news: Fix another 'de' translation typo.
* etc/news.scm: Fix typo.
2019-11-16 10:32:57 +00:00
Florian Pelz
7082fa321d
news: Fix 'de' translation typo.
* etc/news.scm: Fix typo.
2019-11-16 10:25:24 +00:00
Konrad Hinsen
067305977c
news: Add entry for "guix time-machine".
* etc/news.scm: Add entry for 'guix time-machine'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-15 23:29:06 +01:00
Miguel Ángel Arruga Vivas
c52555559a
news: Add Spanish translation.
* etc/news.scm: Add spanish translation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-09 00:36:53 +01:00
Florian Pelz
8f61b53efc
news: Add 'de' translation.
* etc/news.scm: Add new 'de' translation.
2019-11-08 15:23:59 +00:00
Ludovic Courtès
fb936351d3
news: Add entry for package transformation options in "guix graph".
* etc/news.scm: Add entry for "guix graph --with-input".
2019-11-07 18:40:16 +01:00
Florian Pelz
fbdabd7dc0
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2019-11-02 15:09:10 +00:00
Tobias Geerinckx-Rice
6b00a5f4a7
news: Fix typo.
Reported by Eric Bavier <ericbavier@centurylink.net>.

* etc/news.scm: Fix typo in English title of latest news item.
2019-10-28 22:13:00 +01:00
Ludovic Courtès
b13b9384bc
news: Add entry for /etc/guix/channels.scm.
* etc/news.scm: Add entry to /etc/guix/channels.scm.
2019-10-27 23:11:39 +01:00
Ludovic Courtès
a870f20fd8
news: Add CVE ID.
* etc/news.scm: Add CVE ID for insecure permissions entry.
2019-10-18 12:02:52 +02:00
Florian Pelz
d0d900090f
news: Fix 'de' translation.
* etc/news.scm: Add new 'de' translation.
2019-10-17 03:21:28 +00:00
Tobias Geerinckx-Rice
7ecdcf516e
news: Fix ‘nl’ translation typo.
* etc/news.scm: Fix typo.
2019-10-16 23:42:25 +02:00
Florian Pelz
f63e49342b
news: Add 'de' translation.
* etc/news.scm: Add new 'de' translation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-16 23:06:05 +02:00
Julien Lepiller
64b151bee3
news: Add 'fr' translation.
* etc/news.scm: Add 'fr' translation.
2019-10-16 23:06:05 +02:00
Tobias Geerinckx-Rice
f0df84607b
news: Add 'nl' translation.
* etc/news.scm: Add 'nl' translation.
2019-10-16 23:06:01 +02:00
Ludovic Courtès
5d800cb931
news: Add entry for security issue with /var/guix/profiles/per-user.
* etc/news.scm: Add entry for security issue in multi-user setups.
2019-10-16 23:05:17 +02:00
Tobias Geerinckx-Rice
3128d6a16a
nls: Add ‘nl’ translation of news entries.
* etc/news.scm: Add ‘nl’ translations.
2019-09-28 00:38:15 +02:00
Florian Pelz
60643d1b19
nls: Update 'de' translation of news entries.
* etc/news.scm: Improve 'de' translation for news entries.
2019-09-27 19:18:31 +00:00
Florian Pelz
82d43b5f8f
nls: Update 'de' translation of news entries.
* etc/news.scm: Add 'de' translation for news entry titles.
2019-09-27 18:51:16 +00:00
Julien Lepiller
fc16ef9d90
nls: Update 'fr' translation of news entries.
* etc/news.scm: Add more 'fr' translations.
2019-09-26 20:51:45 +02:00
Florian Pelz
9841941ac1
nls: Update 'de' translation of news entries.
* etc/news.scm: Add more 'de' translations.
2019-09-24 17:32:32 +00:00
Ludovic Courtès
2cf9798e16
news: Add entry for the glibc upgrade.
* etc/news.scm: Add entry for 5f3f703918.
2019-09-24 14:18:37 +02:00
Ludovic Courtès
8f5e835b0e
news: Add entry for the reduced binary seed bootstrap.
* etc/news.scm: Add entry for cdd3bcf038.
2019-09-24 13:52:24 +02:00
Ludovic Courtès
90ca791ab0
etc: Add channel news file.
* etc/news.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2019-09-23 11:08:09 +02:00
Ludovic Courtès
cc98b00857
etc: Remove references to libexec/guix* from SELinux policy.
* etc/guix-daemon.cil.in: Remove references to libexec/guix*.
2019-09-08 11:49:25 +02:00
Ludovic Courtès
e1e3fe0848
guix-install.sh: Work around locale issues in 'guix-daemon.service'.
* etc/guix-install.sh (sys_enable_guix_daemon): Modify
'guix-daemon.service' to work around locale issues not fixed in 1.0.1.
2019-09-05 18:33:30 +02:00
Tobias Geerinckx-Rice
9b2644c292
guix-install.sh: Don't initialise ~/.gnupg.
* etc/guix-install.sh (chk_gpg_keyring): Call gpg with ‘--dry-run’.
2019-07-08 18:16:10 +02:00
Tobias Geerinckx-Rice
5d8e505ce5
guix-install.sh: Check for PGP key separately.
* etc/guix-install.sh (chk_gpg_keyring): New function to handle the
public key check previously stuffed into chk_require.
(main): Call it.
2019-07-08 18:16:10 +02:00
Tobias Geerinckx-Rice
7a2e0c52df
guix-install.sh: Add missing ‘local’ declaration.
* etc/guix-install.sh (chk_require): Make $c local.
2019-07-08 17:47:39 +02:00
Tobias Geerinckx-Rice
6c77d79a49
guix-install.sh: Treat REQUIRE as the array it is.
Don't flatten it into a string only to split it again later.

* etc/guix-install.sh (chk_require): Iterate over array elements, not
string tokens.
(main): Pass $REQUIRE as an array of arguments.
2019-07-08 17:47:39 +02:00
Ricardo Wurmus
cea5db1b84
etc: Do not recommend use of SKS key servers.
* etc/guix-install.sh: Recommend downloading the GPG key from Savannah.
2019-07-01 23:32:08 +02:00
Tobias Geerinckx-Rice
3a8bfebed9
etc: Remove hydra.gnu.org.pub key.
* etc/substitutes/hydra.gnu.org.pub: Delete file.
* guix/self.scm (miscellaneous-files): Don't install it.
* Makefile.am (dist_pkgdata_DATA): Remove it.
* gnu/services/base.scm (%default-authorized-guix-keys): Likewise.
(hydra-key-authorization): Rename to…
(substitute-key-authorization): …this.  Adjust only call site.
2019-06-29 14:27:22 +02:00
Tobias Geerinckx-Rice
414c4de15d
guix-install.sh: Don't authorise hydra.gnu.org.
* etc/guix-install.sh (sys_authorize_build_farms): Authorise only
ci.guix.gnu.org and make all references to it singular.
2019-06-29 06:28:50 +02:00
Jack Hill
a5ca4a6342
etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file.
This is a followup to 579d17b70d.

* etc/guix-publish.service.in (Environment): Move GUIX_LOCPATH inside
the quotes.
2019-06-05 17:27:22 +02:00
Jack Hill
579d17b70d
etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.
Fixes <https://bugs.gnu.org/36074>.

* etc/guix-daemon.service.in: Move the GUIX_LOCPATH environment variable name
inside the quotes.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-06-05 11:48:55 +02:00
Ludovic Courtès
489d6c0dc0
Set 'LC_ALL=en_US.utf8' in systemd '.service' files.
Fixes <https://bugs.gnu.org/35671>.

* etc/guix-daemon.service.in (Environment): Quote the 'GUIX_LOCPATH'
value; add 'LC_ALL'.
* etc/guix-publish.service.in (Environment): Likewise.
2019-05-13 23:46:08 +02:00
Ricardo Wurmus
825c39bfbb
etc: Refer to ci.guix.gnu.org in install script.
* etc/guix-install.sh: Replace reference to ci.guix.info with ci.guix.gnu.org.
2019-05-10 23:38:10 +02:00
Maxim Cournoyer
4ac69ea10f
Add (guix bzr-download).
* guix/bzr-download.scm, guix/build/bzr.scm,
etc/snippets/scheme-mode/guix-bzr-reference: New files.
* Makefile.am (MODULES): Add them.
* etc/snippets/scheme-mode/guix-origin: Add "bzr-fetch" to the origin choices.
2019-05-09 00:22:37 -04:00
Ludovic Courtès
3a3e9f2bb5
guix-install.sh: Update URL.
* etc/guix-install.sh (GNU_URL): Change to ftp.gnu.org.
2019-05-02 15:31:24 +02:00
Ludovic Courtès
757e633d57
build: Change default substitute server to "ci.guix.gnu.org".
* config-daemon.ac: Replace "ci.guix.info" with "ci.guix.gnu.org".
* doc/guix.texi (SUBSTITUTE-SERVER): Likewise.
* etc/substitutes/ci.guix.gnu.org.pub: New file.
* Makefile.am (dist_pkgdata_DATA): Add it.
* guix/scripts/build.scm (%default-log-urls): Update.
* guix/scripts/substitute.scm (%default-substitute-urls): Likewise.
* guix/store.scm (%default-substitute-urls): Likewise.
* guix/self.scm (miscellaneous-files): Add "ci.guix.gnu.org".
2019-05-01 11:05:47 +02:00
Ludovic Courtès
d824cfbabe
guix package: Add 'install', 'remove', and 'upgrade' aliases.
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
2019-04-29 10:13:44 +02:00
Pierre Neidhardt
6994e67436
etc: Add "rename" snippet.
* etc/snippets/text-mode/guix-commit-message-rename-package: New file.
2019-03-26 14:18:12 +01:00
ng0
47956fa0c2
Correct name and email address for ng0.
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm,
gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm,
gnu/packages/language.scm, gnu/packages/libcanberra.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm:
Correct name and email address for ng0.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-18 15:05:08 +01:00
Ricardo Wurmus
95803946c7
etc: snippets: Prefill package name.
* etc/snippets/text-mode/guix-commit-message-add-package: Extract package
name from diff.
2019-03-08 00:17:30 +01:00
Ricardo Wurmus
d6234620ac
etc: snippets: Prefill package name and version.
* etc/snippets/text-mode/guix-commit-message-update-package: Extract package
name and version from git diff output.
2019-03-07 23:55:24 +01:00
Ludovic Courtès
f5fdc54d3a
guix-install.sh: Avoid "#!/bin/bash" shebang.
Fixes <https://bugs.gnu.org/34279>.
Reported by Claes Wallin (韋嘉誠) <clacke@lysator.liu.se>.

* etc/guix-install.sh: Change shebang to #!/bin/sh and add 'if'
statement to spawn Bash if needed.
2019-02-05 12:03:24 +01:00
Ludovic Courtès
1fc90e89f0
guix-install.sh: Use pool.sks-keyservers.net.
"pgp.mit.edu" has been unavailable for some time.

* etc/guix-install.sh (chk_require): Change key server to
pool.sks-keyservers.net.
2018-12-13 18:44:40 +01:00
Ludovic Courtès
4a0b87f0ec
guix-install.sh: Use the "ci.guix.info.pub" file name for clarity.
* etc/guix-install.sh (sys_authorize_build_farms): Use the
"ci.guix.info.pub" file name rather "berlin.guixsd.org.pub".
2018-12-05 16:26:55 +01:00
Ludovic Courtès
6a837b6062
etc: Add "ci.guix.info.pub" public key file.
* etc/substitutes/ci.guix.info.pub: New file.
* Makefile.am (dist_pkgdata_DATA): Add it.
* guix/self.scm (miscellaneous-files): Add
"share/guix/ci.guix.info.pub".
2018-12-04 10:57:56 +01:00
Ludovic Courtès
e9926f80c6
build: Binary tarball now populates the "current-guix" profile.
* Makefile.am (guix-binary.%.tar.xz): Pass
'--profile-name=current-guix'.  Remove glibc and glibc-utf8-locales.
* doc/guix.texi (Binary Installation): Update accordingly.
* etc/guix-install.sh
* etc/guix-install.sh (sys_create_store, sys_enable_guix_daemon)
(sys_authorize_build_farms): Likewise.
* etc/guix-publish.conf.in, etc/guix-publish.service.in,
etc/guix-daemon.conf.in, etc/guix-daemon.service.in: Update file names
accordingly.
2018-11-23 15:42:01 +01:00
Ludovic Courtès
aa919fbc89
maint: Move substitute public keys to etc/substitutes.
* berlin.guixsd.org.pub, hydra.gnu.org.pub: Move to...
* etc/substitutes: ... here.  New directory.
* Makefile.am (dist_pkgdata_DATA): Adjust accordingly.
2018-11-06 00:04:11 +01:00
Ludovic Courtès
7082873ea2
bash completion: Restore completion of available packages for 'guix build'.
Fixes a regression introduced in
9b0a755f64 whereby 'guix build TAB' would
not suggest any completion.

* etc/completion/bash/guix (_guix_complete): Arrange so 'guix build TAB'
completes available packages.
2018-11-06 00:04:11 +01:00
Ludovic Courtès
2510bd8756
guix-install.sh: Recognize armhf-linux.
* etc/guix-install.sh (chk_sys_arch): Add "armv7l" case.
2018-10-14 23:48:49 +02:00
Pierre Neidhardt
d634db9401
etc: Use git-file-name if origin is git-fetch.
* etc/snippets/scheme-mode/guix-origin: Use git-file-name.
2018-10-10 17:33:42 +02:00
Arun Isaac
9286c29504
etc: snippets: Add guix-commit-message-use-https-home-page.
* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file.
* doc/contributing.texi (The Perfect Setup): Document new snippet.
2018-07-13 12:45:11 +05:30
Arun Isaac
202befb4ae
etc: snippets: Add new build systems to package snippet.
* etc/snippets/scheme-mode/guix-package: Add android-ndk-build-system and
scons-build-system as possibilities for the build-system field.
2018-07-13 09:27:31 +05:30
Oleg Pykhalov
3a15d0aa9c
bash completion: Complete files names after 'guix weather -m'.
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
weather -m'.
2018-07-03 06:58:51 +03:00
Oleg Pykhalov
9b0a755f64
bash completion: Complete files names after 'guix build -L'.
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
build -L'.
2018-07-03 06:58:51 +03:00
Oleg Pykhalov
bba0fa2499
Add guix-daemon Bash completion file.
* etc/completion/bash/guix-daemon: New file.
* Makefile.am (dist_bashcompletion_DATA): Add this.
2018-06-16 21:23:11 +03:00
Maxim Cournoyer
593fe73667
guix-install.sh: Fix chk_require exiting without warning.
* etc/guix-install.sh (chk_require): Because of the set -e option, Bash was
exiting when the command `command -v "$c" &>/dev/null' was running on its
own. Instead, we now test the command and accumulate warning messages in a
single statement by chaining the command with a logical OR.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-05-19 22:47:07 +02:00
Chris Marusich
3cd4447f56
guix-install.sh: Explicitly set root's home directory.
* etc/guix-install.sh (ROOT_HOME): New variable.
  (sys_create_store, sys_enable_guix_daemon, sys_authorize_build_farms):
  Use ROOT_HOME instead of ~root or the HOME environment variable.
* doc/guix.texi (Binary Installation): Instead of assuming that ~ and
  $HOME refer to root's directory simply because commands are being run
  as root, explicilty refer to it via ~root.

Fixes: <https://bugs.gnu.org/30728>
2018-03-29 07:03:37 +02:00
ng0
4a78fd4617
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/emacs.scm, gnu/packages/enlightenment.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm,
gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm,
gnu/packages/image-viewers.scm, gnu/packages/image.scm,
gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm,
gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm,
gnu/packages/music.scm, gnu/packages/ncurses.scm,
gnu/packages/networking.scm, gnu/packages/nickle.scm,
gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-crypto.scm, gnu/packages/python-web.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/ruby.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/serialization.scm,
gnu/packages/shells.scm, gnu/packages/ssh.scm,
gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xfce.scm, gnu/packages/xml.scm,
gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm,
guix/licenses.scm: Likewise.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 17:17:58 +01:00
Efraim Flashner
ea6b1baec7
etc: guix-install.sh: Add aarch64-linux support.
* etc/guix-install.sh (chk_sys_arch): Add aarch64 case.
2018-02-21 22:14:39 +02:00
Oleg Pykhalov
f5f916792c
bash completion: Complete files names after 'guix package -m'.
* etc/completion/bash/guix (_guix_is_dash_m): New function.
(_guix_complete): Add this.
2018-02-17 22:23:07 +03:00
Ricardo Wurmus
b617a9fe23
etc: Add SELinux policy for the daemon.
* etc/guix-daemon.cil.in: New file.
* Makefile.am (dist_selinux_policy_DATA): Define it.
* configure.ac: Handle --with-selinux-policy-dir.
* doc/guix.texi (SELinux Support): New section.
2018-02-07 15:41:23 +01:00
Ricardo Wurmus
6f4e8693e7
etc: Add installation script.
* etc/guix-install.sh: New file.
* Makefile.am (EXTRA_DIST): Add it.
* doc/guix.texi (Binary Installation): Mention it.

Co-authored-by: sharlatan <sharlatanus@gmail.com>
2018-01-30 03:48:04 +01:00
ng0
b83fc85f9f
etc: Add completions for fish.
* etc/completion/fish/guix.fish: New file.
* Makefile.am: Register the file.
* configure.ac: Add the fish vendor-completions directory.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-16 16:00:20 +01:00
Ricardo Wurmus
42cdcdff19
etc: Add snippets.
* etc/snippets/scheme-mode/guix-cvs-reference,
etc/snippets/scheme-mode/guix-git-reference,
etc/snippets/scheme-mode/guix-hg-reference,
etc/snippets/scheme-mode/guix-origin,
etc/snippets/scheme-mode/guix-package,
etc/snippets/scheme-mode/guix-svn-reference,
etc/snippets/text-mode/guix-commit-message-add-package,
etc/snippets/text-mode/guix-commit-message-update-package: New files.
* doc/contributing.texi (The Perfect Setup): Document snippets.
2017-12-15 23:15:32 +01:00
Marius Bakke
ed8634c404
bash completion: Complete files names after 'guix download'.
* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
2017-08-22 23:13:42 +02:00
Christopher Baines
08f47d7e3e
Remove task from 'guix-daemon.conf'.
The 'task' means that events that led to this job starting will be blocked
until it has stopped. Tasks are short lived jobs, whereas the guix-daemon is a
long lived service. Including 'task' means that attempts to start the
guix-daemon appear to hang, as upstart waits for it to exit.

* etc/guix-daemon.conf.in: Remove 'task'.
2017-07-15 21:59:21 +01:00
Alex Kost
97658183ed
etc: indent-code.el: Define source tree by "indent-code.el".
* etc/indent-code.el.in: Set default directory by "indent-code.el"
itself, otherwise it works only when called from the top directory of
the guix source tree.
2017-05-04 22:45:53 +03:00
Sergei Trofimovich
644f95111c
Increase "TasksMax" in 'guix-daemon.service'.
* etc/guix-daemon.service.in (TasksMax): Increase to 8192.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-22 20:45:08 -04:00
Leo Famulari
613d0895b9
build: Don't embed absolute paths in .service and .conf service files.
Otherwise, users will be stuck running an old copy of guix and the guix-daemon
if they copy the service files instead of symlinking them.

* etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/guix-publish.conf.in,
etc/guix-publish.service.in: Expand @localstatedir@ instead of @bindir@.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Use @localstatedir@
instead of @bindir@.
2017-03-06 13:25:51 -05:00
Leo Famulari
f0d0c5bb18
etc: The pre-push hook says which commits failed the signature check.
* etc/git/pre-push: Check each commit's signature individually so that
we can report which commits fail the check.
2017-02-08 03:42:08 +01:00
Ludovic Courtès
f2c66fbe1f
bash completion: Complete subcommands for the current word.
* etc/completion/bash/guix (_guix_complete_subcommand): Refer to
the $COMP_CWORD element instead of the last element.
2017-02-07 00:08:10 +01:00
Ludovic Courtès
a93c1c5921
bash completion: Properly complete 'guix container exec'.
* etc/completion/bash/guix (_guix_complete_pid): New function.
(_guix_complete): Add case for "container".
2017-02-07 00:08:10 +01:00
Ludovic Courtès
e109ed3922
bash completion: Complete file names after 'guix system COMMAND'.
* etc/completion/bash/guix (_guix_complete): When the command is
"system" and $COMP_CWORD > 2, use _guix_complete_file.
2017-02-07 00:08:10 +01:00
Ludovic Courtès
3454f7edf9
bash completion: Complete 'guix gc' with file names.
Reported by a couple of cool folks at a bar in Brussels.

* etc/completion/bash/guix (_guix_complete): Use '_guix_complete_file'
for 'guix gc'.  This fixes completion of 'guix gc -d'.
2017-02-07 00:08:10 +01:00
Ludovic Courtès
830d4c1fcd
etc: indent-code.el: Add indentation info for non-Guix Scheme constructs.
* etc/indent-code.el.in (guix-syntax--scheme-indent): New macro.
Use it.
2017-01-20 21:39:17 +01:00
Ludovic Courtès
557d9c8d7a
etc: Support indentation of whole files.
* etc/indent-package.el.in: Rename to...
* etc/indent-code.el.in: ... this.  Add case for a single argument.
* doc/contributing.texi (Formatting Code): Adjust accordingly.
* configure.ac: Likewise.
2017-01-13 18:49:31 +01:00
Ludovic Courtès
7bb2b10cd0
etc: Add 'indent-package.el' script.
* configure.ac: Check for 'emacs', substitute 'EMACS', and emit
'etc/indent-package.el'.
* etc/indent-package.el.in: New file.
* doc/contributing.texi (Formatting Code): Mention
'etc/indent-package.el'.
(Submitting Patches): Likewise, and link to the above node.

Co-authored-by: Alex Kost <alezost@gmail.com>
2017-01-12 14:56:52 +01:00
Leo Famulari
69355e1283
doc: Add a Git hook that verifies signatures before pushing.
* HACKING (Commit Access): Describe the pre-push Git hook.
* etc/git/pre-push: New file.
2017-01-04 16:27:20 -05:00
Hartmut Goebel
332d7903f5
Add system start-up files for "guix publish".
* .gitignore: add etc/guix-publish.conf and /etc/guix-publish.service.
* etc/guix-publish.conf.in: New file.
* etc/guix-publish.service.in: New file.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Generalized former
  build-rules for by using patterns.
  (nodist_systemdservice_DATA): Add etc/guix-publish.service, update
  comment.
  (nodist_upstartjob_DATA): Add etc/guix-publish.conf, update comment.
* doc/guix.texi (Invoking guix publish): Add description for enabling
  "guix publish" on host distros using the new files.
2016-11-24 09:23:11 +01:00
Ludovic Courtès
f07f7d8614
bash completion: Complete subcommands and their options.
* etc/completion/bash/guix (_guix_complete_subcommand): New function.
(_guix_complete_option): Allow completion of subcommand options.
(_guix_complete): Use '_guix_complete_subcommand' for "system" and
"import".
2016-09-07 17:33:48 +02:00
Ludovic Courtès
e9006d06a0
bash completion: Redirect 'guix' stderr to /dev/null.
This avoids spurious messages when pressing TAB.

* etc/completion/bash/guix (_guix_complete_available_package)
(_guix_complete_installed_package, _guix_complete_option)
(_guix_complete): Redirect stderr to /dev/null when running 'guix'.
2016-09-07 16:22:25 +02:00
Eric Le Bihan
96dbc93089
Add Zsh completion file.
* etc/completion/zsh/_guix: New file.
* Makefile.am (dist_zshcompletion_DATA): New variable.
* configure.ac: Add --with-zsh-completion-dir.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-09-07 16:08:20 +02:00
Ricardo Wurmus
2517a7b3e2
Set "GUIX_LOCPATH" in 'guix-daemon.service'.
Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>.

* etc/guix-daemon.service.in (Environment): New value.
2016-07-18 06:56:29 +02:00
Ludovic Courtès
f489ce3c93
Add "TasksMax=1024" in 'guix-daemon.service'.
Suggested by Joram Schrijver <i+guix-devel@joram.io>.

* etc/guix-daemon.service.in (TasksMax): New value.
2016-04-25 23:27:09 +02:00
Mario Daniel Ruiz Saavedra
ad227484c3 Add 'guix-daemon.conf' job for Upstart.
* etc/guix-daemon.conf.in: New file.
* daemon.am (CLEANFILES): Add etc/guix-daemon.conf.
  (upstartjobdir, nodist_upstartjob_DATA): New variables.
  (EXTRA_DIST): Add etc/guix-daemon.conf.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
  'guix-daemon.conf'.

Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-26 23:21:09 +01:00
Ludovic Courtès
4a9999871c bash completion: Cache the list of subcommands and available packages.
* etc/completion/bash/guix (_guix_complete_available_package): Cache the list
  of available packages in '_guix_available_packages' and use it.
  (_guix_complete): Cache the list of subcommands in '_guix_subcommands' and
  use it.
2015-08-20 19:57:33 +02:00
Ludovic Courtès
d2825c9614 Add 'guix-daemon.service' file for systemd.
* etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus.
* daemon.am (CLEANFILES): Add etc/guix-daemon.service.
  (systemdservicedir, nodist_systemdservice_DATA): New variables.
  (EXTRA_DIST): Add etc/guix-daemon.service.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
  'guix-daemon.service'.
2015-07-15 23:57:01 +02:00
Ludovic Courtès
868ef9aec7 bash completion: Complete long options with no short variant.
* etc/completion/bash/guix (_guix_complete_option): Change grep regexp
  to match options that don't have a short option name.
2015-05-01 17:39:39 +02:00
Ludovic Courtès
ee3e157dec Add Bash completion file.
* etc/completion/bash/guix: New file.
* Makefile.am (dist_bashcompletion_DATA): New variable.
* configure.ac: Add --with-bash-completion-dir.
2015-04-09 23:44:14 +02:00