Commit Graph

30282 Commits

Author SHA1 Message Date
Ludovic Courtès 806ff35854
self: Export '%guix-register-program' in generated (guix config).
* guix/self.scm (make-config.scm): Export '%guix-register-program'.
2018-04-10 17:44:27 +02:00
Ludovic Courtès e69dd8443a
self: Fix package names for compilation with Guile 2.0.
Reported by Ricardo Wurmus.

* guix/self.scm (specification->package): Add guile2.0-{json,git,ssh}.
(guile-for-build): Use 'module-ref' for Guile 2.0.
2018-04-10 17:44:27 +02:00
Ludovic Courtès 69447b6393
self: Display a new line at the end of module compilation.
* guix/self.scm (compiled-modules)[build]: Add a 'newline' call at the
end.
2018-04-10 17:44:27 +02:00
Ludovic Courtès 14b392a8ad
self: Don't substitute the '-source' derivations.
With substitution enabled we would end up downloading 10+ MiB of source
that's already available locally on disk.

* guix/self.scm (imported-files): Pass #:options to 'computed-file'.
2018-04-10 17:44:27 +02:00
Ludovic Courtès 10de06bd07
gnu: hwloc: Skip 'linux-libnuma' test.
That test would fail on some machines, for instance build machines
behind berlin.guixsd.org.

* gnu/packages/mpi.scm (hwloc)[arguments]: Add 'skip-linux-libnuma-test'
phase.
(hwloc-2.0)[arguments]: Replace it.
2018-04-10 17:44:27 +02:00
Tomáš Čech a69e0cf3ca
gnu: Add libcgroup.
* gnu/packages/linux.scm (libcgroup): New variable.
2018-04-10 11:43:12 +02:00
Leo Famulari 60e1de6d95
gnu: chromaprint: Fix typo.
* gnu/packages/mp3.scm (chromaprint): Fix typo.
2018-04-09 09:04:11 -04:00
Rutger Helling 7e4f6f131e
gnu: retroarch: Update checksum.
* gnu/packages/emulators.scm (retroarch): Update checksum.
2018-04-09 11:26:05 +02:00
Rutger Helling 593e9da137
gnu: mgba: Update to 0.6.2.
* gnu/packages/emulators.scm (mgba): Update to 0.6.2.
2018-04-09 09:14:20 +02:00
Leo Famulari 1825ce8063
gnu: eyeD3: Update to 0.8.5.
* gnu/packages/mp3.scm (eyed3): Update to 0.8.5.
[source]: Use pypi-uri.
[propagated-inputs]: Add python-magic and python-pathlib.
2018-04-09 00:41:14 -04:00
Mark H Weaver 78602fad57
gnu: linux-libre: Add elfutils to native-inputs.
Suggested by Leo Famulari <leo@famulari.name>

* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: Add elfutils.
2018-04-09 00:29:10 -04:00
Mark H Weaver 81d98d7ef2
gnu: linux-libre: Add flex and bison to native-inputs.
* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: Add flex and
bison.
2018-04-09 00:29:08 -04:00
Mark H Weaver 2e5a9c58ad
gnu: linux-libre: Update to 4.15.16.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.15.16.
(%linux-libre-hash): Update hash.
2018-04-09 00:27:43 -04:00
Mark H Weaver 9b8cd09e46
gnu: linux-libre@4.14: Update to 4.14.33.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.33.
(%linux-libre-4.14-hash): Update hash.
2018-04-09 00:15:36 -04:00
Mark H Weaver 615d923d1f
gnu: linux-libre@4.9: Update to 4.9.93.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.93.
2018-04-09 00:14:28 -04:00
Mark H Weaver 4d332846f0
gnu: linux-libre@4.4: Update to 4.4.127.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.127.
2018-04-09 00:13:47 -04:00
Ludovic Courtès df154c05dc
hydra: Fix uses of 'eval-when'.
* build-aux/hydra/gnu-system.scm: Use (expand load eval) in 'eval-when'
clause so as to not poison a cat and to ensure %load-compiled-path is
properly set when the 'use-modules' clauses are expanded.
* build-aux/hydra/guix.scm: Likewise.
2018-04-09 00:00:58 +02:00
Fis Trivial 71dab08dec
gnu: Add bear.
* gnu/packages/build-tools.scm (bear): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-08 23:32:34 +02:00
Fis Trivial bebe3a4f95
gnu: Add unittest-cpp.
* gnu/packages/check.scm (unittest-cpp): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-08 23:32:34 +02:00
rsiddharth 20c902f0d0
gnu: ghc-psqueues: Update to 0.2.6.0.
* gnu/packages/haskell.scm (ghc-psqueues): Update to 0.2.6.0.
[arguments]: Enable tests.
[home-page]: Update link.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-08 23:32:34 +02:00
Nils Gillmann 8cb2bcf7a8
gnu: gnurl: Update to version 7.59.0.
* gnu/packages/gnunet.scm (gnurl): Update to version 7.59.0.
[source]: Add temporary second source at ftp.n0.is.

Signed-off-by: Nils Gillmann <ng0@n0.is>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-08 23:32:34 +02:00
Konrad Hinsen ab4d1c2612
gnu: Add emacs-pass.
* gnu/packages/emacs.scm (emacs-pass): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-08 23:32:34 +02:00
Ludovic Courtès adc671450b
gnu: cobol: Download NIST suite over HTTPS.
Suggested by Simon Sobisch <simonsobisch@web.de>.

* gnu/packages/cobol.scm (gnucobol)[inputs]: Download "newcob" over HTTPS.
2018-04-08 23:32:34 +02:00
Marius Bakke 33d82486d5
gnu: vc: Do not optimize for the build machine CPU.
* gnu/packages/maths.scm (vc)[arguments]: Add "-DTARGET_ARCHITECTURE=none" to
  #:configure-flags.
2018-04-08 22:32:24 +02:00
Marius Bakke 17f93ba122
gnu: http-parser: Update to 2.8.1.
* gnu/packages/web.scm (http-parser): Update to 2.8.1.
2018-04-08 22:32:23 +02:00
Marius Bakke 9801a56e09
gnu: libmbim: Update to 1.16.0.
* gnu/packages/freedesktop.scm (libmbim): Update to 1.16.0.
2018-04-08 22:32:23 +02:00
Marius Bakke 9b9e7481e2
gnu: libotf: Update to 0.9.16.
* gnu/packages/fontutils.scm (libotf): Update to 0.9.16.
2018-04-08 22:32:23 +02:00
Ludovic Courtès 98cda1b997
hydra: guix-modular: Honor the 'systems' argument.
* build-aux/hydra/guix-modular.scm (hydra-jobs)[systems]: Define as in
gnu-system.scm.
Honor SYSTEMS.
2018-04-08 22:07:47 +02:00
Ludovic Courtès f27a712840
build-self: Add missing 'close-pipe' call.
* build-aux/build-self.scm (build): Call 'close-pipe'.
2018-04-08 21:11:37 +02:00
Ludovic Courtès 16c28becf2
hydra: guix-modular: Explicitly build for the latest 2.2.
* build-aux/hydra/guix-modular.scm (build-job): Pass #:guile-version to
'build'.
2018-04-08 19:57:31 +02:00
Ludovic Courtès f6dfb8bb08
hydra: Clear '%load-compiled-path' for gnu-system.scm.
On hydra.gnu.org GUILE_LOAD_COMPILED_PATH happened to be empty so we
were fine.  However on GuixSD with Cuirass, we could have a conflicting
non-empty path and .go files for some of the (guix …) and (gnu …)
modules would be taken from there.

* build-aux/hydra/gnu-system.scm: Set %load-compiled-path.
2018-04-08 17:57:13 +02:00
Ludovic Courtès 9fe9594611
hydra: 'guix-modular' jobs use the new 'build-self'.
* build-aux/hydra/guix-modular.scm: Remove 'eval-when' form that fiddled
with '%load-path'.
(build-job): Load 'build-aux/build-self.scm' and call the procedure it
returns.
* build-aux/hydra/evaluate.scm: The 'build-things' replacement no longer
calls 'exit'.
2018-04-08 17:48:33 +02:00
Ludovic Courtès 351f384e57
cuirass: Add job specs for the modular Guix.
* build-aux/cuirass/guix-modular.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2018-04-08 17:48:33 +02:00
Ludovic Courtès a1ec7540be
cuirass: Factorize hydra-to-cuirass CI job translation.
* build-aux/cuirass/gnu-system.scm: Move code to...
* build-aux/cuirass/hydra-to-cuirass.scm: ... here, and include it.
* Makefile.am (EXTRA_DIST): Add 'build-aux/cuirass/hydra-to-cuirass.scm'
and 'build-aux/cuirass/gnu-system.scm'.
2018-04-08 17:48:33 +02:00
Ludovic Courtès 3c0128b035
discovery: Remove dependency on (guix ui).
This reduces the closure of (guix discovery) from 28 to 8 modules.

* guix/discovery.scm (scheme-files): Use 'format' instead of 'warning'.
(scheme-modules): Add #:warn parameter.  Use it instead of
'warn-about-load-error'.
(fold-modules): Add #:warn and pass it to 'scheme-modules'.
(all-modules): Likewise.
* gnu/bootloader.scm (bootloader-modules): Pass #:warn to 'all-modules'.
* gnu/packages.scm (fold-packages): Likewise.
* gnu/services.scm (all-service-modules): Likewise.
* guix/upstream.scm (importer-modules): Likewise.
2018-04-08 17:48:33 +02:00
Ludovic Courtès 2cfc8d6964
build: Add 'as-derivation' target.
* build-aux/compile-as-derivation.scm: New file.
* Makefile.am (as-derivation): New target.
(EXTRA_DIST): Add compile-as-derivation.scm.
2018-04-08 17:48:25 +02:00
Ludovic Courtès f0527ce3a4
build-self: Use (guix self).
This mitigates <https://bugs.gnu.org/27284>.

* build-aux/build-self.scm (libgcrypt, zlib, gzip, bzip2, xz)
(false-if-wrong-guile, package-for-current-guile, guile-json)
(guile-ssh, guile-git, guile-bytestructures, matching-guile-2.2): Remove.
(%dependency-variables, %persona-variables, %config-variables): New
variables.
(make-config.scm, load-path-expression, gexp->script)
(build-program): New procedures.
(build): Rewrite to simply delegate to 'guix-derivation'.
2018-04-08 17:41:08 +02:00
Ludovic Courtès eaae07ec28
Add (guix self).
* guix/self.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/packages.scm (%distro-root-directory): Rewrite to try different
directories.
* guix/discovery.scm (guix): Export 'scheme-files'.
2018-04-08 17:41:08 +02:00
Ludovic Courtès 278c16579d
gnu: Add 'guix-register'.
* gnu/packages/package-management.scm (guix-register): New variable.
2018-04-08 17:41:08 +02:00
Ludovic Courtès b244ae25f9
gexp: 'directory-union' has a #:resolve-collision parameter.
* guix/gexp.scm (directory-union): Add #:resolve-collision and honor it.
2018-04-08 17:41:08 +02:00
Ludovic Courtès e40aa54e98
union: Allow callers to choose the collision resolution policy.
* guix/build/union.scm (warn-about-collision): New procedure.
(union-build): Add #:resolve-collision.
[resolve-collisions]: Call it.
* tests/union.scm ("union-build collision first & last"): New test.
2018-04-08 17:41:08 +02:00
Ludovic Courtès 1b92d65a40
modules: Report the search path in &missing-dependency-error.
* guix/modules.scm (&missing-dependency-error)[search-path]: New field.
(source-module-dependencies): Initialize the 'search-path' field.
2018-04-08 17:41:08 +02:00
Ludovic Courtès 6ef80eb0d9
tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels.
Fixes <https://bugs.gnu.org/25476>.
Reported by Paul Garlick <pgarlick@tourbillion-technology.com>
and Maria Sidorova <hydromasha@gmail.com>.

* tests/syscalls.scm ("pivot-root"): Skip on known-bad Ubuntu kernels.
2018-04-08 17:41:08 +02:00
Nicolas Goaziou 8f3448f637
gnu: grammalecte: Fix build.
* gnu/packages/dictionaries.scm (grammalecte)[arguments]: Add phase to fix
  build script.
2018-04-08 16:18:18 +02:00
Nicolas Goaziou 2cc267e07a
gnu: grammalecte: Update to 0.6.3.1.
* gnu/packages/dictionaries.scm (grammalecte): Update to 0.6.3.1.
2018-04-08 09:13:53 +02:00
Sohom Bhattacharjee d4bb455135
gnu: Add emacs-evil-anzu.
* gnu/packages/emacs.scm (emacs-evil-anzu): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2018-04-07 21:34:42 +03:00
YOANN P 6e0efe8cd5
gnu: git: Fix checksum patch in 'patch-tests'.
* gnu/packages/version-control.scm (git)[arguments]: In 'patch-tests'
phase, use %store-directory instead of '/gnu' to prevent tests failure
in case a custom store path is used.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-04-06 17:46:04 +02:00
Marius Bakke 385b2dde61
gnu: miniupnpc: Update to 2.0.20180406.
* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20180406.
2018-04-06 17:46:03 +02:00
Marius Bakke a81000fb71
gnu: talloc: Update to 2.1.13.
* gnu/packages/samba.scm (talloc): Update to 2.1.13.
2018-04-06 17:46:03 +02:00
Marius Bakke 426284d855
gnu: strace: Update to 4.22.
* gnu/packages/linux.scm (strace): Update to 4.22.
[source](uri): Download from home page.
2018-04-06 17:46:03 +02:00