Commit graph

60434 commits

Author SHA1 Message Date
Caleb Ristvedt
37edbc91e3
nar: 'finalize-store-file' follows proper store lock protocol.
* guix/nar.scm (finalize-store-file): check for deletion token when acquiring
  lock, write deletion token and delete lock file before releasing lock.
2020-05-07 05:56:01 -05:00
Ludovic Courtès
5aa4d2dcf2
Revert "services: syslog: Simplify 'start' method."
This reverts commit 4c0cc7bed3.
Fixes <https://bugs.gnu.org/41116>.
Reported by Alex Sassmannshausen <alex@komputilo.eu>.

The problem is that reconfiguring on a system running Shepherd < 0.8.0
would lead to an error, due to #:file-creation-mask not being supported.
The error is rather harmless: it prevents service upgrade but the system
itself is upgraded.

We can reinstate that commit eventually, once #:file-creation-mask has
become widespread.
2020-05-07 12:55:15 +02:00
Ludovic Courtès
d6c43d7bc1
guix system: 'docker-image' honors '--network'.
* gnu/system/vm.scm (system-docker-image): Add #:shared-network? and
pass it to 'containerized-operating-system'.
(qemu-image):
* guix/scripts/system.scm (system-derivation-for-action): Pass
 #:shared-network? to 'system-docker-image'.
* doc/guix.texi (Invoking guix system): Document it.
2020-05-07 12:55:14 +02:00
Ludovic Courtès
8d65a71e5f
git-authenticate: Use the 'origin/keyring' branch by default.
Previously one would need to have a worktree for the local 'keyring'
branch.

Reported by reepca and bricewge on #guix.

* build-aux/git-authenticate.scm (load-keyring-from-reference): Use
'branch-lookup' instead of 'reference-lookup'.  Add "origin/" to
REFERENCE.
(authenticate-commits): Have #:keyring-reference default to "keyring".
2020-05-07 12:55:14 +02:00
Nicolas Goaziou
f45baa4a0a
doc: Tiny markup fix.
* doc/guix.texi (Substitute Authentication): Use @samp instead of @code for
pseudo-code.
2020-05-07 11:55:02 +02:00
Nicolas Goaziou
82426f4d4a
doc: Remove markup for external package names.
* doc/guix.texi (Invoking guix import): Remove markup, which is not warranted
here.
2020-05-07 11:49:07 +02:00
Nicolas Goaziou
13b0777f25
doc: Use @file instead of @code also for file extensions.
* doc/guix.texi (Defining Packages):
(Build Systems):
(Derivations):
(Invoking guix import):
(Printing Services):
(Installing Debugging Files):
(Preparing to Use the Bootstrap Binaries): Use @file instead of @code.
2020-05-07 11:47:13 +02:00
Nicolas Goaziou
7ebe3163d6
doc: Use @env for environment variables.
* doc/guix.texi (Binary Installation):
(Build Environment Setup):
(Invoking guix-daemon):
(Application Setup):
(After System Installation):
(Invoking guix package):
(Proxy Settings):
(Invoking guix environment):
(Packages for C Development):
(Package Modules):
(Build Systems):
(The Store):
(Common Build Options):
(Invoking guix download):
(Invoking guix refresh):
(Using the Configuration System):
(Locales):
(Base Services):
(Networking Services):
(Sound Services):
(Continuous Integration):
(PAM Mount Service):
(X.509 Certificates): Use @env instead of @code for environment variables.
2020-05-07 11:42:12 +02:00
Brice Waegeneire
f96ddb6096
gnu: usbguard: Fix warning about 'catch'.
* gnu/packages/hardware.scm (usbguard)[arguments]: Rename phase
'patch-makefile' to 'patch-build-scripts', patch 'Makefile.in' files
instead of 'Makefile.am' and fix 'catch' include path.
[native-inputs]: Remove 'autoconf' and 'automake'.
2020-05-07 11:26:44 +02:00
Brice Waegeneire
febd19daaa
gnu: usbguard: Use packaged 'pegtl'.
* gnu/packages/hardware.scm (usbguard)[arguments]: Remove configure flag
'--with-bundled-pegtl'.
[inputs]: Add 'pegtl'
2020-05-07 11:26:42 +02:00
Brice Waegeneire
741d222647
gnu: Add pegtl.
* gnu/packages/cpp.scm (pegtl): New variable.
2020-05-07 11:26:38 +02:00
Nicolas Goaziou
a87c90862c
doc: Use @option instead of @code.
* doc/guix.texi (Binary Installation):
(Requirements):
(Build Environment Setup):
(Invoking guix-daemon):
(Application Setup):
(Invoking guix package):
(Substitute Server Authorization):
(Substitution Failure):
(Invoking guix gc):
(Invoking guix pull):
(Invoking guix archive):
(Invoking guix environment):
(Invoking guix pack):
(Defining Packages):
(Build Systems):
(The Store):
(Invoking guix build):
(Common Build Options):
(Package Transformation Options):
(Additional Build Options):
(Debugging Build Failures):
(Invoking guix edit):
(Invoking guix import):
(Invoking guix refresh):
(Invoking guix lint):
(Invoking guix publish):
(Invoking guix challenge):
(Base Services):
(Virtualization Services):
(Initial RAM Disk):
(Invoking guix system):
(Preparing to Use the Bootstrap Binaries):
(Porting): Use @option instead of @code for command-line options.
2020-05-07 11:21:31 +02:00
Pierre Neidhardt
caf90167fb
doc: Fix typo in container example.
* doc/guix.texi (Invoking `guix environment'): Fix sll -> ssl typo.
2020-05-07 10:37:11 +02:00
Ludovic Courtès
ff3ca7979e
channels: Add patch for <https://bugs.gnu.org/41028>.
Without this patch, we couldn't jump from here to commits before
05e783871c because the
'compute-guix-derivation' script would crash with an unbound-variable
error for 'call-with-new-thread'.

Fixes <https://bugs.gnu.org/41028>.
Reported by Christopher Baines <mail@cbaines.net>.

* guix/channels.scm (%bug-41028-patch): New variable.
(%patches): Add it.
2020-05-07 10:06:15 +02:00
Ludovic Courtès
053b10c3ef
channels: Add mechanism to patch checkouts of the 'guix channel.
* guix/channels.scm (<patch>): New record type.
(apply-patches): New procedure.
(latest-channel-instance)[dot-git?]: New procedure.
Use 'update-cached-checkout' and 'add-to-store' instead of
'latest-repository-commit'.  Call 'apply-patches' when CHANNEL is the
'guix channel.
(%patches): New variable.
* guix/git.scm (url+commit->name): Make public.
* tests/channels.scm ("latest-channel-instances includes channel dependencies")
("latest-channel-instances excludes duplicate channel dependencies"):
Mock 'update-cached-checkout' instead of 'latest-repository-commit'.
Wrap body in 'with-store' and pass the store to 'latest-channel-instances'.
2020-05-07 10:06:15 +02:00
Ludovic Courtès
4ba425060a
channels: Add 'latest-channel-instance'.
* guix/channels.scm (latest-channel-instance): New procedure.
(latest-channel-instances): Use it.
2020-05-07 10:06:15 +02:00
Pierre Neidhardt
60131df02b
doc: Add container example to run a web browser.
* doc/guix.texi (Invoking `guix environment'): Add paragraph and example to
  run Eolie in a guix environment container.  Add `container' cindex for the
  first container example, and the `certificates' cindex for the web browser
  example.
2020-05-07 10:04:14 +02:00
Pierre Neidhardt
e5f1f5ce07
gnu: warsow-qfusion: Remove bundled binaries and inputs.
* gnu/packages/game-development.scm (warsow-qfusion)[source]: Add snippet to
  remove unused bundled binaries and inputs.
2020-05-07 09:58:56 +02:00
Pierre Neidhardt
3078c05eb2
gnu: sbcl-iolib.grovel: Deprecate in favour of sbcl-cffi-grovel.
* gnu/packages/lisp-xyz.scm (sbcl-iolib.grovel): Deprecate since upstream has
  removed it; they are now using cffi-grovel instead.
2020-05-07 09:23:06 +02:00
Pierre Neidhardt
d35a0f1452
gnu: sbcl-trivial-backtrace: Fix typo in description.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-backtrace)[description]: Replace
  "On" with "One".
2020-05-07 09:23:06 +02:00
Jan (janneke) Nieuwenhuizen
1339a03b6d
gnu: glibc/hurd-headers: Cross-build fix for the Hurd.
* gnu/packages/base.scm (glibc/hurd-headers)[native-inputs]: Add mig; when
cross-building use 32-bit mig.
2020-05-07 07:11:33 +02:00
Jan (janneke) Nieuwenhuizen
598be42dfa
syscalls: Add ioctl flags for the Hurd.
Use

    #include <stdio.h>
    #include <net/if.h>
    #include <hurd/ioctl.h>

    int
    main ()
    {
      printf ("SIOCSIFFLAGS #x%x\n", SIOCSIFFLAGS);
      printf ("SIOCGIFADDR #x%x\n", SIOCGIFADDR);
      printf ("SIOCSIFADDR #x%x\n", SIOCSIFADDR);
      printf ("SIOCGIFNETMASK #x%x\n", SIOCGIFNETMASK);
      printf ("SIOCSIFNETMASK #x%x\n", SIOCSIFNETMASK);
    #if 0
      printf ("SIOCADDRT #x%x\n", SIOCADDRT);
      printf ("SIOCDELRT #x%x\n", SIOCDELRT);
    #endif
    }

to fill in some blanks.  Adding and removing route apparently not supported.

* guix/build/syscalls.scm (SIOCSIFFLAGS SIOCGIFADDR, SIOCSIFADDR,
SIOCGIFNETMASK, SIOCSIFNETMASK):
2020-05-07 07:11:03 +02:00
L p R n d n
bed695aa94
gnu: lightdm-gtk-greeter: Wrap binary.
* gnu/package/display-managers.scm (lightdm-gtk-greeter)[inputs]: Add
shared-mime-info.
[arguments]: Add "wrap-program" phase.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 00:08:11 +02:00
L p R n d n
13b012754e
gnu: lightdm-gtk-greeter: Fix .desktop file.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)[arguments]: Fix
reference to greeter in .desktop file with "fix-.desktop-file" phase.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 00:08:11 +02:00
L p R n d n
4e6396983a
gnu: lightdm-gtk-greeter: Fix at-spi runtime dependency.
* gnu/packages/display-manager.scm (lightdm-gtk-greeter): Fix at-spi runtime
dependency.
[inputs]: Add at-spi2-core.
[arguments]: Add "--enable-at-spi-command" configure flag.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 00:08:11 +02:00
L p R n d n
0097e931d0
gnu: lightdm: Add vala bindings.
* gnu/packages/display-managers.scm (lightdm)[native-inputs]: Add vala.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 00:08:10 +02:00
L p R n d n
373c5dfadf
gnu: lightdm: Update to 1.30.0.
* gnu/packages/display-managers.scm (lightdm): Update to 1.30.0.
[arguments]: Re-enable all tests by removing 'disable-broken-tests phase.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 00:08:10 +02:00
Ricardo Wurmus
5b9bdeb52c
gnu: Add plymouth.
* gnu/packages/freedesktop.scm (plymouth): New variable.

Co-authored-by: Nikita <nikita@n0.is>
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 00:08:10 +02:00
Marius Bakke
c263cfdcde
Merge branch 'master' into core-updates 2020-05-06 23:37:40 +02:00
Giacomo Leidi
13c18af1d8
gnu: nix: Update to 2.3.4.
* gnu/packages/package-management.scm (nix): Update to 2.3.4,
[inputs]: Add boost, brotli, editline.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:56 +02:00
Giacomo Leidi
b84ea6c9db
gnu: Add editline.
* gnu/packages/libedit.scm (editline): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:56 +02:00
Giacomo Leidi
409d2907b8
gnu: supercollider: Update to 3.11.0.
This also restores IDE support.

* gnu/packages/audio.scm (supercollider): Update to 3.11.0.
[outputs]: Add an "ide" output.
[configure-flags]: Enable Qt IDE, fortify source and build scsynth as a
shared library.
[phases]: Do not delete no longer existing failing tests and add
an 'install-ide phase.
[native-inputs]: Add qttools and ableton-link.
[inputs]: Add qtbase, qtdeclarative, qtsvg, qtwebchannel and qtwebsockets.
[propagated-inputs]: Add qtwebengine.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:56 +02:00
Giacomo Leidi
17aa4eb4e1
gnu: Add ableton-link.
* gnu/packages/audio.scm (ableton-link): New variable.
* gnu/packages/patches/ableton-link-system-libraries-debian.patch: Patch
CMakeLists.txt to use system libraries.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:56 +02:00
Jack Hill
0e741a8975
gnu: Add gnome-shell-extension-clipboard-indicator.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-clipboard-indicator):
New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:56 +02:00
Jean-Baptiste Note
b2b9b227f3
gnu: Add makepasswd.
* gnu/packages/password-utils.scm (makepasswd): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:55 +02:00
Jack Hill
a6919866b0
gnu: webkitgtk: Patch to share store via Bubblewrap.
Fixes <https://bugs.gnu.org/40837>.

* gnu/packages/patches/webkitgtk-share-store.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/webkit.scm (webkitgtk)[source](patches): Use it.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-05-06 22:49:55 +02:00
Marius Bakke
3ed94ed8c2
services: Do not use symbolic links in PulseAudio variables.
This addresses <https://bugs.gnu.org/40837> by making these configuration
files more easily accessible within the WebKitGTK sandbox.

* gnu/services/sound.scm (pulseaudio-environment): Move below
PULSEAUDIO-CONF-ENTRY.  Instantiate PULSE_CONFIG and PULSE_CLIENTCONFIG
entries directly instead of referring to /etc/pulse.
(pulseaudio-etc): Do not create /etc/pulse/client.conf and /etc/pulse/daemon.conf.
2020-05-06 22:49:55 +02:00
Timotej Lazar
e3bf2a66a2
gnu: endless-sky: Update to 0.9.12.
* gnu/packages/games.scm (endless-sky): Update to 0.9.12.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-06 22:24:37 +03:00
Maxim Cournoyer
3b7f3108e0
gnu: php: Remove failing tests.
* gnu/packages/php.scm (php)[phases]{prepare-tests}: Remove the
ext/gd/tests/bug65148.phpt, ext/gd/tests/bug66590.phpt,
ext/gd/tests/bug73869.phpt, ext/gd/tests/webp_basic.phpt and
ext/gd/tests/imagecreatefromstring_webp.phpt tests.
2020-05-06 13:32:08 -04:00
Pierre Neidhardt
758f32afdb
gnu: sbcl-type-i: Update to 20191203.
* gnu/packages/lisp-xyz.scm (sbcl-type-i): Update to 20191203.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
c75e349467
gnu: sbcl-trivial-features: Update to 20200403.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-features): Update to 20200403.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
36ceab7da0
gnu: sbcl-trivial-cltl2: Update to 20200301.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-cltl2): Update to 20200301.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
ba69e6e699
gnu: sbcl-trivia: Update to 20200301.
* gnu/packages/lisp-xyz.scm (sbcl-trivia): Update to 20200301.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
27c7df2991
gnu: sbcl-quri: Update to 20191020.
* gnu/packages/lisp-xyz.scm (sbcl-quri): Update to 20191020.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
ef4a5a858c
gnu: sbcl-plump: Update to 20200415.
* gnu/packages/lisp-xyz.scm (sbcl-plump): Update to 20200415.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
438d8113d0
gnu: sbcl-named-readtables: Update to 20200506.
* gnu/packages/lisp-xyz.scm (sbcl-named-readtables): Update to 20200506.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
c9d9795f70
gnu: sbcl-local-time: Update to 20200303.
* gnu/packages/lisp-xyz.scm (sbcl-local-time): Update to 20200303.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
47e7300814
gnu: sbcl-fast-http: Update to 20190910.
* gnu/packages/lisp-xyz.scm (sbcl-fast-http): Update to 20190910.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
5b22df94b4
gnu: Add syntax-interpol.
* gnu/packages/lisp-xyz.scm (cl-syntax-interpol, sbcl-syntax-interpol): New variables.
2020-05-06 18:15:58 +02:00
Pierre Neidhardt
0627ad3002
gnu: sbcl-cl-syntax-annot: Inherit from sbcl-cl-syntax.
* gnu/packages/lisp-xyz.scm (sbcl-cl-syntax-annot): Inherit from
  sbcl-cl-syntax and remove unnecessary fields.
2020-05-06 18:15:58 +02:00