Age | Commit message (Collapse) | Author |
|
Fixes <http://bugs.gnu.org/22774>.
Reported by Christopher W Carpenter.
* guix/download.scm (built-in-builders*, raw-derivation)
(built-in-download): New procedures.
(in-band-download): New procedure, with code formerly in 'url-fetch'.
(url-fetch): Call 'built-in-builders*' and dispatch between
'built-in-download' and 'in-band-download'.
|
|
* nix/libstore/builtins.cc (builtinBuilderNames): New function.
* nix/libstore/builtins.hh (builtinBuilderNames): New declaration.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x160.
(WorkerOp)[wopBuiltinBuilders]: New value.
* nix/nix-daemon/nix-daemon.cc (performOp): Handle it.
* guix/store.scm (operation-id)[built-in-builders]: New value.
* guix/store.scm (read-arg): Add 'string-list'.
(built-in-builders): New procedure.
* tests/derivations.scm ("built-in-builders"): New test.
|
|
This ensures that 1) the derivation doesn't change when Guix changes;
2) the derivation closure doesn't contain Guix and its dependencies; 3)
we don't have to rely on ugly chroot hacks.
Adapted from Nix commit 0a2bee307b20411f5b0dda0c662b1f9bb9e0e131.
* nix/libstore/build.cc (DerivationGoal::runChild): Add special case for
'isBuiltin(drv)'. Disable chroot when 'isBuiltin(drv)'.
* nix/libstore/builtins.cc, nix/libstore/builtins.hh,
nix/scripts/download.in, guix/scripts/perform-download.scm: New files.
* guix/ui.scm (show-guix-help)[internal?]: Add 'perform-download'.
* nix/local.mk (libstore_a_SOURCES): Add builtins.cc.
(libstore_headers): Add builtins.hh.
(nodist_pkglibexec_SCRIPTS): Add 'scripts/download'.
* config-daemon.ac: Emit 'scripts/download'.
* Makefile.am (MODULES): Add 'guix/scripts/perform-download.scm'.
* tests/derivations.scm ("unknown built-in builder")
("'download' built-in builder")
("'download' built-in builder, invalid hash")
("'download' built-in builder, not found")
("'download' built-in builder, not fixed-output"): New tests.
Co-authored-by: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
|
* tests/lint.scm (%http-server-port, %local-url)
(%http-server-socket, http-write, %http-server-lock)
(%http-server-ready, http-open, stub-http-server)
(call-with-http-server, with-http-server): Move to (guix tests http).
Adjust tests for %HTTP-SERVER-SOCKET as a promise and %LOCAL-URL as a
parameter.
* guix/tests/http.scm: New file.
* Makefile.am (dist_noinst_DATA): Add it.
(GOBJECTS): Add .go files for all of $(dist_noinst_DATA).
(make-go): Depend on $(dist_noinst_DATA).
|
|
* guix/scripts/download.scm (download-to-file, download-to-store*): New
procedures.
(%default-options): Add 'download-proc'.
(show-help): Adjust description and document '-o'.
(%options): Add '-o'.
(guix-download): Remove 'store' variable. Add 'fetch' and define 'path'
to as its result.
* tests/guix-download.sh: Add test.
|
|
* gnu/packages/mail.scm (opensmtpd): Update to 6.0.2p1.
[arguments]: Pass '--with-path-sock=/var/run' to #:configure-flags.
|
|
* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash)
(linux-libre): Update to 4.8.8.
|
|
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.32.
|
|
* gnu/packages/gnupg.scm: Change name in copyright header.
|
|
* gnu/packages/web.scm (httptunnel): New variable.
|
|
* gnu/packages/bioinformatics.scm (hisat)[arguments]: Fix directory
name in install phase.
|
|
* gnu/packages/engineering.scm (pcb-rnd): New variable.
|
|
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.52.
[home-page]: Use https.
|
|
* gnu/packages/maths.scm (octave): Update to 4.2.0.
[native-inputs]: Add lzip.
[home-page]: Use https.
|
|
* gnu/packages/parallel.scm (parallel): Update to 20161022.
[home-page]: Use https.
|
|
* gnu/packages/cdrom.scm (libcdio): Update to 0.94.
[home-page]: Use https.
|
|
* gnu/packages/vpn.scm (gvpe): Update to 3.0.
|
|
* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.3.
|
|
* gnu/packages/python.scm (python-vcversioner): Update to 2.16.0.0.
[inputs]: Remove python-setuptools.
[properties]: New field.
(python2-vcversioner): Use 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
|
|
* gnu/packages/shells.scm (fish): Update to 2.4.0.
|
|
* gnu/services/networking.scm (connman-shepherd-service): Add
wpa-supplicant among list of requirements.
|
|
* gnu/services/networking.scm (wpa-supplicant-service): New procedure.
(wpa-supplicant-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
|
|
* gnu/packages/connman.scm (connman): Use localstatedir outside of store.
|
|
* gnu/packages/python.scm (python-jsonschema)[arguments]: Replace 'check
phase with python nosetests.
[native-inputs]: Add python-nose.
[home-page]: Use https.
(python2-jsonschema)[native-inputs]: Add python2-mock.
|
|
* gnu/packages/freedesktop.scm (accountsservice): Update to 0.6.43.
|
|
* gnu/packages/package-management.scm (guix-devel): Update to commit
7ca37da855fd921fa3925bb62f8015f770b7e784.
|
|
* gnu/packages/package-management.scm (guix-0.11.0)[arguments]: Update
pattern in 'disable-container-tests' to match 'test-equal'.
|
|
* gnu/packages/web.scm (libpsl): Update to 0.15.0.
|
|
* gnu/packages/freedesktop.scm (libinput)[inputs]: Add glib.
[native-inputs]: Add cairo, gtk+-3.
(libinput-minimal)[native-inputs]: Only pkg-config.
|
|
* gnu/packages/freedesktop.scm: Reorder modules alphabetically.
|
|
* gnu/packages/freedesktop.scm (libinput): Update to 1.5.1.
|
|
* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.7.
|
|
* gnu/packages/video.scm (mpv)[inputs]: Change 'lua' to 'lua-5.2'.
|
|
* guix/import/cpan.scm (cpan-module->sexp) <version>: Test if version in
meta is string or number. If it is number, coerce to string.
|
|
* gnu/packages/patches/readline-6.2-CVE-2014-2524.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/readline.scm (readline-6.2): Use it.
|
|
* gnu/packages/crypto.scm (signify): Update to 20.
|
|
* gnu/packages/mail.scm (mailutils): Update to 3.0.
[arguments]: Adjust 'pre-build' phase.
* gnu/packages/patches/m4-gets-undeclared.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
|
|
* gnu/packages/guile.scm (guile-ncurses): Update to 2.1.
[home-page]: Use https.
|
|
* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.3.
|
|
* gnu/packages/web.scm (tidy)[arguments]: Use the ‘modify-phases’ syntax.
|
|
* gnu/packages/protobuf.scm (protobuf)[home-page]: Update it.
|
|
* gnu/packages/mtools.scm (exfat-utils): Update to 1.2.4.
[source, home-page]: Move away from dead Google Code project.
[arguments, native-inputs]: Remove.
|
|
Hello,
The containers test was hanging for me, and this patch fixed the
problem.
--
Andy
From 945ad44acf489b7f3a398d4ab739ec2b48477502 Mon Sep 17 00:00:00 2001
From: Andy Patterson <ajpatter@uwaterloo.ca>
Date: Sat, 12 Nov 2016 22:10:01 -0500
Subject: [PATCH] tests: Don't check file-systems in container tests.
* tests/containers.scm ("call-with-container, mnt namespace"): Don't
check file-system in 'call-with-container' call.
* tests/containers.scm
("call-with-container, mnt namespace, wrong bindmount"): Likewise.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/lisp.scm (clisp)[inputs]: Use readline-6.2.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
* gnu/packages/syndication.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
|
|
* gnu/packages/ncurses.scm (stfl): New variable.
|
|
* gnu/packages/perl.scm (perl-modern-perl): New variable.
|
|
* gnu/packages/patches/libtiff-CVE-2016-9273.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (libtiff/fixed): Use it.
|
|
* gnu/packages/python.scm (python-flask-restplus): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|