Commit Graph

30293 Commits

Author SHA1 Message Date
Ludovic Courtès eb72cdf087
self: Produce a spliced (guix config) to placate Guile 2.0.
Fixes 'guix pull' with Guile 2.0.
See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27284#153>.

* guix/self.scm (make-config.scm): Remove 'begin' in 'scheme-file'
argument and pass #:splice? #t.
2018-04-11 01:03:47 +02:00
Ludovic Courtès 4fbd1a2b7f
gexp: 'scheme-file' can splice expressions.
* guix/gexp.scm (<scheme-file>)[splice?]: New field.
(scheme-file): Add #:splice? and pass it to '%scheme-file'.
(scheme-file-compiler): Pass SPLICE? to 'gexp->file'.
(gexp->file): Add #:splice? and honor it.
* tests/gexp.scm ("gexp->file + #:splice?"): New test.
("gexp->derivation & with-imported-module & computed module"): Use
 #:splice? #t.
2018-04-11 01:03:47 +02:00
Ludovic Courtès a1639ae9de
self: 'package-for-guile' really honors GUILE-VERSION.
* guix/self.scm (package-for-guile): Pass GUILE-VERSION to
'false-if-wrong-guile'.
2018-04-11 01:03:47 +02:00
Ludovic Courtès 63cab4182d
self: Remove 'eval-when' from in generated (guix config).
* guix/self.scm (make-config.scm): Remove unneeded 'eval-when'.
2018-04-11 01:03:47 +02:00
Fis Trivial f8fbe37654
gnu: Add qBittorrent.
* gnu/packages/bittorrent.scm (qBittorrent): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-11 01:03:46 +02:00
Fis Trivial 395541b018
gnu: libtorrent-rasterbar: Add CXXFLAGS.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar): Add CXXFLAGS.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-04-11 01:03:46 +02:00
Ludovic Courtès 0927b5bed6
gnu: tlsdate: Fix compilation on aarch64-linux-gnu.
* gnu/packages/ntp.scm (tlsdate)[arguments]: Add #:configure-flags.
2018-04-11 01:03:46 +02:00
Ludovic Courtès b1fb247b78
gnu: guix: Update to 486de73.
* gnu/packages/package-management.scm (guix): Update to 486de73.
2018-04-11 01:03:46 +02:00
Jan Nieuwenhuizen 792ddfdc76
gnu: mes: Update to 0.12.
* gnu/packages/mes.scm (mes): Update to 0.12.
2018-04-10 21:58:07 +02:00
Ludovic Courtès 486de7377f
gnu: cuirass: Update to 238f856.
* gnu/packages/ci.scm (cuirass): Update to 238f856.
2018-04-10 17:44:27 +02:00
Ludovic Courtès 43176dd605
self: Don't use deprecated package names.
* guix/self.scm (compiled-guix)[guile-json, guile-ssh]: Don't refer t
"guile2.2-json" and "guile2.2-ssh", which are deprecated.
2018-04-10 17:44:27 +02:00
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