Commit Graph

45286 Commits

Author SHA1 Message Date
Ludovic Courtès 1ba0b1e6ec
packages: Remove 'search-bootstrap-binary'.
* gnu/packages.scm (%bootstrap-binaries-path, search-bootstrap-binary):
Remove.
* gnu/packages/bootstrap.scm (bootstrap-executable): Export.
* guix/tests.scm (bootstrap-binary-file, search-bootstrap-binary):
Export.
* tests/derivations.scm: Remove (gnu packages) import.
* tests/grafts.scm: Likewise.
* tests/guix-daemon.sh: Likewise.
2019-06-14 21:57:39 +02:00
Ludovic Courtès 03d76577b9
tests: Make builds less expensive.
The switch to the reduced bootstrap broke build time assumptions made by
tests, notably the assumption that GNU-MAKE-BOOT0 was cheap to build.
This commit adjusts this to make these tests cheaper.

* gnu/packages/bootstrap.scm (%bootstrap-inputs-for-tests): New variable.
* guix/tests.scm (gnu-make-for-tests): New variable.
* tests/guix-environment.sh: Use GNU-MAKE-FOR-TESTS instead of
GNU-MAKE-BOOT0.  Remove test with FINDUTILS-BOOT0.
* tests/guix-package-net.sh (boot_make): Use GNU-MAKE-FOR-TESTS.
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/profiles.scm ("profile-derivation relative symlinks, two entries"):
Likewise.
* tests/union.scm (%bootstrap-inputs): Remove.
("union-build"): Use %BOOTSTRAP-INPUTS-FOR-TESTS instead of
%BOOTSTRAP-INPUTS.
2019-06-14 21:57:39 +02:00
Ludovic Courtès 11b4a8716c
tests: Remove expensive and pointless test.
This test had become too expensive since the introduction of the reduced
bootstrap.

* tests/builders.scm ("gnu-build"): Remove.
(%bootstrap-inputs, %bootstrap-search-paths): Remove.
2019-06-14 21:57:18 +02:00
Ludovic Courtès 836a85da0e
gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries.
* gnu/packages/bootstrap.scm (%bootstrap-executables): New variable.
(bootstrap-executable-url, bootstrap-executable): New procedure.
(raw-build)[->store]: Use 'run-with-store' and 'origin->derivation'.
Add calls to 'derivation->output-path', and remove the list of
references passed to 'add-text-to-store' for BUILDER.  Augment the list
of #:inputs passed to 'derivation'.
(package-from-tarball): Use 'bootstrap-executable' instead of
'search-bootstrap-binary'.
(%bootstrap-glibc, %bootstrap-gcc, %bootstrap-mescc-tools)
(%bootstrap-mes): Likewise.
* guix/scripts/environment.scm (environment-bash): Use
'bootstrap-executable' instead of 'search-bootstrap-binary'.
(guix-environment): Adjust CONTAINER? case accordingly.
* po/guix/POTFILES.in: Add gnu/packages/bootstrap.scm.
2019-06-14 21:57:01 +02:00
Ludovic Courtès 267966f911
download: Add 'url-fetch/executable'.
* guix/download.scm (built-in-download): Add #:executable? parameter.
Pass #:recursive? to 'raw-derivation' and add "executable" to the #:env-vars
alist when EXECUTABLE? is true.
(url-fetch): Add #:executable? and pass it to 'built-in-download'.
(url-fetch/executable): New procedure.
2019-06-14 15:05:43 +02:00
Carl Dong 44f07d1dc6
gnu: guile: Disable unreliable out-of-memory test
* gnu/packages/patches/guile-2.2-skip-oom-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/guile.scm (guile-2.2)[source](patches): Add
  "guile-2.2-skip-oom-test.patch".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-14 09:46:49 +02:00
Ludovic Courtès b644008ca2
gnu: mes-boot, tcc-boot0: Require nyacc 0.86.
This is a followup to b801646727.

* gnu/packages/commencement.scm (mes-boot, tcc-boot0): Use source from
NYACC-0.86 instead of NYACC.
2019-06-13 18:09:21 +02:00
Ludovic Courtès 376a258f25
Reinstate "nls: Update 'de' translation of the manual."
This reverts commit d69bbd8c70.
2019-06-13 13:32:23 +02:00
Ludovic Courtès d9bbfe042e
Merge branch 'master' into core-updates 2019-06-13 13:24:35 +02:00
Carlo Zancanaro 47f2168b6f
gnu: Add Kawa.
* gnu/packages/kawa.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2019-06-13 13:00:37 +02:00
Ludovic Courtès 0ddf17dc1a
gnu; emacs-realgud: Add a 'file-name' field to the origin.
* gnu/packages/emacs-xyz.scm (emacs-realgud)[source]: Add 'file-name'.
2019-06-13 13:00:37 +02:00
Brian Leung 0882c491f0
gnu: emacs-realgud: Update to 1.5.0.
* gnu/packages/emacs-xyz.scm (emacs-realgud): Update to 1.5.0.
[source]: Fetch from git.
Remove upstreamed patch.
* gnu/packages/patches/emacs-realgud-fix-configure-ac.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-13 13:00:37 +02:00
Ludovic Courtès ed8a551653
gnu: gpxsee: Fetch from Git instead of a generated tarball.
* gnu/packages/gps.scm (gpxsee)[source]: Use 'git-fetch'.
2019-06-13 13:00:37 +02:00
Nikolay Korotkiy 286ef5d97c
gnu: gpxsee: Upgrade to 7.8
* gnu/packages/gps.scm (gpxsee): Update to 7.8.
[arguments]: Leave "config.h" unchanged in 'configure' phase.
Remove 'install' phase.
[home-page, synopsis, description]: Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-13 13:00:37 +02:00
Ludovic Courtès b801646727
gnu: nyacc: Add 0.94.0.
* gnu/packages/mes.scm (nyacc): Rename to...
(nyacc-0.86): ... this.
(nyacc): New variable.
(mes)[propagated-inputs]: Use NYACC-0.86 instead of NYACC.
2019-06-13 13:00:36 +02:00
Nicolas Goaziou 4d6d2d7cca
gnu: gimp: Update to 2.10.12.
* gnu/packages/gimp.scm (gimp): Update to 2.10.12.
2019-06-13 12:52:55 +02:00
Nicolas Goaziou 42b641b7d8
gnu: babl: Update to 0.1.66.
* gnu/packages/gimp.scm (babl): Update to 0.1.66.
2019-06-13 12:52:40 +02:00
LaFreniere, Joseph aa86c3adbd
gnu: emacs-perspective: Update to 2.2.
* gnu/packages/emacs-xyz.scm (emacs-perspective): Update to 2.2.
[source]: Download using git-fetch.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-06-13 10:46:24 +03:00
Efraim Flashner e22edabbb5
gnu: gpodder: Only return #t when needed.
* gnu/packages/gpodder.scm (gpodder)[arguments]: Return #t from
'do-not-run-msgmerge. Don't return #t from 'install.
2019-06-13 09:35:08 +03:00
Pierre Langlois 2bb078efe5
gnu: gpodder: Update to 3.10.9.
* gnu/packages/gpodder.scm (gpodder): Update to 3.10.9.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-06-13 09:29:27 +03:00
Tobias Geerinckx-Rice 5cc5364eba
gnu: dstat: Add python2-six.
* gnu/packages/admin.scm (dstat)[inputs]: Add python2-six.
[arguments]: Add ‘wrap’ phase to make dstat find required modules.
2019-06-13 02:26:21 +02:00
Ludovic Courtès 76533c52c0
daemon: Replace "illegal" by "invalid" in error messages.
* nix/libstore/build.cc (parseReferenceSpecifiers): Replace "illegal" by
"invalid".
* nix/libstore/globals.cc (Settings::pack): Likewise.
* nix/libstore/store-api.cc (checkStoreName): Likewise.
2019-06-13 00:44:01 +02:00
Florian Pelz bd9b15fb31
gnu: Add USB_ModeSwitch.
* gnu/packages/usb-modeswitch.scm: New file.
* gnu/packages/patches/usb-modeswitch-accept-config-arg.patch: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add package.
  (dist_patch_DATA): Add patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-13 00:44:01 +02:00
Jan Nieuwenhuizen f0de9544a3
gnu: Add emacsy.
* gnu/packages/guile-xyz.scm (emacsy): New variable.
2019-06-12 23:31:43 +02:00
Leo Famulari ff22ff42a1
gnu: GParted: Update 1.0.0.
* gnu/packages/disk.scm (gparted): Update to 1.0.0.
[arguments]: Remove obsolete configure flag.
[inputs]: Use gtkmm@3. Add yelp-tools and itstool. Remove libxslt,
gnome-doc-utils, docbook-xml-4.2, python-2, python2-libxml2, and which.
[native-inputs]: Add lvm2.
2019-06-12 15:46:53 -04:00
Mark H Weaver ac72162efd
gnu: linux-libre: Update to 5.1.9.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.9.
(%linux-libre-hash): Update hash.
2019-06-12 13:05:09 -04:00
Mark H Weaver 6a2d0191c6
gnu: linux-libre@4.19: Update to 4.19.50.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.50.
(%linux-libre-4.19-hash): Update hash.
2019-06-12 13:03:53 -04:00
Mark H Weaver 7ef05bcf4b
gnu: linux-libre@4.14: Update to 4.14.125.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.125.
(%linux-libre-4.14-hash): Update hash.
2019-06-12 13:01:12 -04:00
Mark H Weaver 07b7a45a49
gnu: linux-libre@4.9: Update to 4.9.181.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.181.
2019-06-12 13:00:33 -04:00
Mark H Weaver a542521a70
gnu: linux-libre@4.4: Update to 4.4.181.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.181.
2019-06-12 12:59:50 -04:00
Julien Lepiller 88b696ef27
doc: Improve tarball extraction example. 2019-06-12 18:52:42 +02:00
Julien Lepiller 24d32e67db
gnu: Add python-pynvim.
* gnu/packages/vim.scm (python-pynvim, python2-pynvim): New variables.
2019-06-12 18:48:15 +02:00
Tobias Geerinckx-Rice 79d19d7d90
services: Import (srfi srfi-26) from the build side.
See <https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00119.html>.

* gnu/services/nix.scm (nix-activation): Remove (srfi srfi-26) from (host-)
imported modules.
2019-06-12 17:26:28 +02:00
Ricardo Wurmus 798b80cea2
gnu: Add r-txdb-hsapiens-ucsc-hg38-knowngene.
* gnu/packages/bioconductor.scm (r-txdb-hsapiens-ucsc-hg38-knowngene): New variable.
2019-06-12 16:23:44 +02:00
Marius Bakke 136eeb0b49
gnu: ungoogled-chromium: Update to 75.0.3770.80-0.5d8abc3.
* gnu/packages/chromium.scm (%preserved-third-party-files): Update for 75.
(%chromium-version): Update to 75.0.3770.80.
(%ungoogled-revision): Update to 5d8abc38b43a62f379615a0dc972b29d9aebb4b4.
(%debian-revision): Update to debian/75.0.3770.80-1.
(%chromium-origin, %ungoogled-origin, %debian-origin): Update hashes.
(ungoogled-chromium-source): Include Debians GCC6 patches.
(ungoogled-chromium)[arguments]: Add "enable_vr=false" to #:configure-flags.
2019-06-12 13:29:45 +02:00
Marius Bakke d0804ea0c6
gnu: chromium: Move origins into separate variables.
* gnu/packages/chromium.scm (%chromium-origin, %ungoogled-origin,
%debian-origin): New variables.
(ungoogled-chromium-source): Adjust accordingly.
2019-06-12 13:29:35 +02:00
Ricardo Wurmus 6054c823ae
gnu: pigx-rnaseq: Update to 0.0.6.
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.6.
[inputs]: Remove bedtools.
2019-06-12 13:12:00 +02:00
Efraim Flashner e38731138d
gnu: wget.scm: List inputs alphabetically.
* gnu/packages/wget.scm: List inputs alphabetically.
2019-06-12 12:58:34 +03:00
Efraim Flashner d7397187df
gnu: wget: Change default paste site.
* gnu/packages/wget.scm (wgetpaste)[arguments]: Change default paste
site in custom 'remove-dead-paste-site phase.
2019-06-12 12:58:33 +03:00
Efraim Flashner 08b00d384b
gnu: wgetpaste: Add xclip to wrapper program list.
* gnu/packages/wget.scm (wgetpaste)[arguments]: Add xclip to list of
wrapper programs in custom 'wrap-program phase.
[inputs]: Add xclip.
2019-06-12 12:58:33 +03:00
Ricardo Wurmus ae6fa185af
gnu: Add r-annotatr.
* gnu/packages/bioconductor.scm (r-annotatr): New variable.
2019-06-12 11:07:37 +02:00
Ivan Petkov 2444abd9c1
gnu: crate: Add proc-macro2 and quote.
* gnu/packages/crates-io.scm: (rust-proc-macro2): New variable.
(rust-quote): New variable.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov cb2471f726
gnu: crate: Add unicode-xid.
* gnu/local.mk: (GNU_SYSTEM_MODULES): Add packages/crates-io.scm.
* gnu/packages/crates-io.scm: New file, containing unicode-xid.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov 5a9ef8a960
import: crate: Define dependencies as arguments.
* guix/import/crate.scm:
(crate-fetch)[input-crates]: Rename to dev-crates.
[native-input-crates]: Rename to dev-dep-crates.
[inputs]: Rename to cargo-inputs.
[native-inputs]: Rename to cargo-development-inputs.
(maybe-cargo-inputs, maybe-cargo-development-inputs, maybe-arguments): Add
them.
(make-crate-sexp)[inputs]: Rename to cargo-inputs.
[native-inputs]: Rename to cargo-development-inputs.
[maybe-native-inputs, maybe-inputs]: Replace with maybe-arguments.
* guix/import/utils.scm: (package-names->package-inputs): Make public.  Add
docstring.
* tests/crate.scm (crate->guix-package): Update the match pattern.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov 8a290772a4
doc: Update cargo-build-system parameter docs.
* doc/guix.texi: (Build Systems)[cargo-build-system]: Add references to
the #:rust, #:cargo-inputs, and #:cargo-development-inputs parameters.
Remove reference to installing crate sources.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov d608e231e3
build-system/cargo: Don't copy source as an output.
* guix/build-system/cargo.scm: (cargo-build)[build-expression->derivation]:
Don't add "src" output.
* guix/build/cargo-build-system.scm: (install-source): Delete it.
(%standard-phases): Delete 'install-source.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov efdf2ae14e
build-system/cargo: Use sources from package sources.
* guix/build/cargo-build-system.scm (crate-src?): New procedure.
(configure): Use the new procedure to expand crate tarballs in the vendor
directory.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov a6ab6b7877
build-system/cargo: Expand transitive crate sources.
* guix/build/cargo: (package-cargo-inputs): Add it.
(package-cargo-development-inputs): Add it.
(crate-closure): Add it.
(expand-crate-sources): Add it.
(lower)[private-keywords]: Add #:cargo-inputs and
[bag]: Use expand-crate-sources to augment build-inputs.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:41 -07:00
Amar Singh a38525789c
gnu: Add emacs-shroud.
* gnu/packages/emacs-xyz.scm (emacs-shroud): New variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-06-11 22:35:26 +02:00
Tobias Geerinckx-Rice 2be6b5e2ee
services: Add SRFI-26 to Nix activation gexp.
Fix the following fatal error on ‘guix system reconfigure’:

Backtrace:
          18 (primitive-load "/home/nckx/.config/guix/current/bin/guix")
In guix/ui.scm:
  1620:12 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9 16 (catch _ _ #<procedure 7a7caa2d4c80 at guix/ui.scm:587:2 (key c)> _)
    829:9 15 (catch _ _ #<procedure 7a7caa2d4c98 at guix/ui.scm:710:6 (key proc format-string format-args . …> …)
In guix/scripts/system.scm:
   1325:8 14 (_)
In guix/status.scm:
    768:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1181:4 12 (process-action _ _ _)
In guix/store.scm:
   623:10 11 (call-with-store _)
  1800:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _)
In guix/scripts/system.scm:
   920:13  9 (_ _)
    409:8  8 (_ _)
In unknown file:
           7 (primitive-load "/gnu/store/dha7j9gcz3vgb8cy7vfvvaswwsywrrzj-activate")
In ice-9/boot-9.scm:
   260:13  6 (for-each #<procedure primitive-load (_)> _)
In unknown file:
           5 (primitive-load "/gnu/store/ql1xjxrssxm51z2bn2v6l3mlrncij84h-activate-service")
In ice-9/eval.scm:
    619:8  4 (_ #f)
   196:35  3 (_ #f)
   196:27  2 (_ #f)
   223:20  1 (proc #<directory (guile-user) 1fa4140>)
In unknown file:
           0 (%resolve-variable (7 . cut) #<directory (guile-user) 1fa4140>)

ERROR: In procedure %resolve-variable:
error: cut: unbound variable

Reported-by: Alex McGrath on #guix.

* gnu/services/nix.scm (nix-activation): Import and use (srfi srfi-26).
2019-06-11 21:05:32 +02:00