Commit graph

60469 commits

Author SHA1 Message Date
Raghav Gururajan 266ad5d740
gnu: Add zrtpcpp.
* gnu/packages/telephony.scm (zrtpcpp): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-08 13:00:39 +02:00
Nicolas Goaziou 6028f3a1d8
gnu: emacs-tramp: Add missing D-Bus support.
* gnu/packages/emacs-xyz.scm (emacs-tramp)[arguments]: Use `emacs' instead of
`emacs-minimal' to get D-Bus support at build time.
2020-05-08 12:53:54 +02:00
John Soo de488b3a5f
gnu: Add purescript.
* gnu/packages/purescript.scm (purescript): New variable.
* gnu/packages/patches/purescript-relax-dependencies.patch: New file.
* gnu/local.mk: Add it.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:58:15 +01:00
John Soo 5c826341a3
gnu: Add ghc-happy@1.19.9
* gnu/packages/purescript.scm (ghc-happy-1.19.9): New file, New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add purescript.scm.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:26 +01:00
John Soo 3cf7219cac
gnu: Add ghc-semialign.
* gnu/packages/haskell-xyz.scm (ghc-semialign): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:26 +01:00
John Soo 20c440ea04
gnu: Add ghc-these.
* gnu/packages/haskell-xyz.scm (ghc-these): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:26 +01:00
John Soo af36939410
gnu: Add ghc-assoc.
* gnu/packages/haskell-xyz.scm (ghc-assoc): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:26 +01:00
John Soo e345d93825
gnu: Add ghc-aeson-better-errors.
* gnu/packages/haskell-web.scm (ghc-aeson-better-errors): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:26 +01:00
John Soo 03d4ea83bf
gnu: Add ghc-bower-json.
* gnu/packages/haskell-web.scm (ghc-bower-json): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:26 +01:00
John Soo 42e7128673
gnu: Add ghc-language-javascript.
* gnu/packages/haskell-web.scm (ghc-language-javascript): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo 25a221a80b
gnu: Add ghc-pattern-arrows.
* gnu/packages/haskell-xyz.scm (ghc-pattern-arrows): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo 8a6e745df1
gnu: Add ghc-protolude.
* gnu/packages/haskell-xyz.scm (ghc-protolude): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo 4759b61735
gnu: Add ghc-mtl-compat.
* gnu/packages/haskell-xyz.scm (ghc-mtl-compat): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo 868415d8a4
gnu: Add ghc-sourcemap.
gnu/pacakges/haskell-web.scm (ghc-sourcemap): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo b62f4ec4ca
gnu: Add ghc-wai-websockets.
* gnu/packages/haskell-web.scm (ghc-wai-websockets): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo c9fc2d2964
gnu: Add ghc-websockets.
* gnu/packages/haskell-web.scm (ghc-websockets): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:25 +01:00
John Soo 13f7e5a1b7
gnu: Add ghc-tasty-hspec.
* gnu/packages/haskell-check.scm (ghc-tasty-hspec): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:24 +01:00
John Soo 460e4e42c8
gnu: Add ghc-transformers.
* gnu/packages/haskell-xyz.scm (ghc-transformers): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:24 +01:00
John Soo d7ad08239b
gnu: Add ghc-utf8-light.
* gnu/packages/haskell-xyz.scm (ghc-utf8-light): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-08 09:53:22 +01:00
Guillaume Le Vaillant 503447ad4e
gnu: rtl-sdr: Fix location of udev rules file.
* gnu/packages/radio.scm (rtl-sdr)[arguments]: Modify 'fix-paths' phase to put
  the udev rules file in 'lib/' instead of 'etc/'.
2020-05-08 09:01:14 +02:00
Tobias Geerinckx-Rice 44585a0e9f
gnu: powertop: Fix typo in description.
* gnu/packages/linux.scm (powertop)[description]: Excise space.
2020-05-08 02:41:09 +02:00
Tobias Geerinckx-Rice ae1cda76f5
gnu: acpi-call-linux-module: Update to 3.17-0.70b9c80.
* gnu/packages/linux.scm (acpi-call-linux-module): Update to
3.17-0.70b9c80.
[arguments]: Remove ‘fix-for-linux-4.12’ phase.
2020-05-08 02:31:58 +02:00
Tobias Geerinckx-Rice 4d36a27887
gnu: powertop: Update to 2.12.
* gnu/packages/linux.scm (powertop): Update to 2.12.
2020-05-08 02:31:58 +02:00
Ludovic Courtès bdb9b4e8d3
pack: Factorize 'exec_in_user_namespace' wrapper.
* gnu/packages/aux-files/run-in-namespace.c (exec_in_user_namespace):
New function, with code taken from...
(main): ... here.  Call it.
2020-05-07 23:52:25 +02:00
Ludovic Courtès 14928af2af
pack: Add 'xmalloc' in wrapper.
* gnu/packages/aux-files/run-in-namespace.c (xmalloc): New function.
(concat): Use it.
2020-05-07 23:52:25 +02:00
Ludovic Courtès 4a53c19a32
pack: Fix off-by-one in PRoot handling in the wrapper.
* gnu/packages/aux-files/run-in-namespace.c (exec_with_proot): Make
'proot_argv' one element larger to account for the terminating NULL.
2020-05-07 23:52:25 +02:00
Nicolas Goaziou 8ba2aa22f1
gnu: Add emacs-tramp.
* gnu/packages/emacs-xyz.scm (emacs-tramp): New variable.
2020-05-07 18:08:28 +02:00
Guillaume Le Vaillant 2bee789a47
gnu: rtl-sdr: Install udev rules.
* gnu/packages/radio.scm (rtl-sdr)[arguments]: Add '-DINSTALL_UDEV_RULES=ON'
  to configure-flags and add a 'fix-paths' phase to put the udev rules in the
  right place.
  [description]: Indicate how to add the udev rules to the system
  configuration.
2020-05-07 16:48:49 +02:00
Marius Bakke 23a59b180b
gnu: android-libutils: Fix build failure.
* gnu/packages/android.scm (android-libutils)[arguments]: Add phase
'augment-CPLUS_INCLUDE_PATH'.
[native-inputs]: Distinguish GCC-5.
2020-05-07 16:05:57 +02:00
Jonathan Brielmaier b14aab6710
gnu: Add icedove.
* gnu/packages/gnuzilla.scm (%icedove-build-id, icedove): New variables.

Co-authored-by: Nikita <nikita@n0.is>
Co-authored-by: Adrian Malacoda <malacoda@monarch-pass.net>
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-07 15:43:11 +02:00
Tobias Geerinckx-Rice eb8b471e82
gnu: mu: Remove dubious TODO.
We don't actually want to add mug, ‘just a toy which is not meant for
distribution.’ (NEWS.org)

* gnu/packages/mail.scm (mu): Remove a comment encouraging it.
2020-05-07 15:22:33 +02:00
Tobias Geerinckx-Rice 712f52ace3
gnu: mu: Update to 1.4.4.
* gnu/packages/mail.scm (mu): Update to 1.4.4.
[source]: Update URI.
2020-05-07 15:22:32 +02:00
Marius Bakke 2ca603f113
build-system/emacs: Hide the 'delete' binding from (guix build utils).
This gets rid of a warning from 'compute-guix-derivation.drv' when running on
Guile 3.0.  (guix build emacs-build-system) includes (srfi srfi-1) anyway.

* guix/build/emacs-build-system.scm: Do not import 'delete' from (guix build utils).
2020-05-07 15:14:46 +02:00
Nicolas Goaziou 9ce89e597e
doc: Use @option for command-line options
* doc/guix.texi (Invoking guix system): Use @option instead of @code.
2020-05-07 13:59:38 +02:00
Caleb Ristvedt b338c41c82
nar: 'with-temporary-store-file' uses a single connection
Previously the 'with-store' form was entered every time a different temporary
file was tried.  This caused there to be as many simultaneous open connections
as there were attempts, and prevented the (loop ...) call from being a tail
call.  This change fixes that.

* guix/nar.scm (with-temporary-store-file): open connection once prior to
  entering the loop.
2020-05-07 05:56:01 -05:00
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