aboutsummaryrefslogtreecommitdiff

/th> 2019-03-13Remove traces of "GuixSD"....* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Remove mentions of "GuixSD". * gnu/bootloader/grub.scm (install-grub-efi): Likewise. * gnu/build/vm.scm (make-iso9660-image): Change default #:volume-id to "Guix_image". (initialize-hard-disk): Search for the "Guix_image" label. * gnu/ci.scm (system-test-jobs, tarball-jobs): Remove "GuixSD". * gnu/installer/newt/welcome.scm (run-welcome-page): Likewise. * gnu/packages/audio.scm (supercollider)[description]: Likewise. * gnu/packages/curl.scm (curl): Likewise. * gnu/packages/emacs.scm (emacs): Likewise. * gnu/packages/gnome.scm (network-manager): Likewise. * gnu/packages/julia.scm (julia): Likewise. * gnu/packages/linux.scm (alsa-plugins): Likewise. (powertop, wireless-regdb): Likewise. * gnu/packages/package-management.scm (guix): Likewise. * gnu/packages/polkit.scm (polkit): Likewise. * gnu/packages/tex.scm (texlive-bin): Likewise. * gnu/services/base.scm (file-systems->fstab): Likewise. * gnu/services/cups.scm (%cups-activation): Likewise. * gnu/services/mail.scm (%dovecot-activation): Likewise. * gnu/services/messaging.scm (prosody-configuration)[log]: Likewise. * gnu/system/examples/vm-image.tmpl (vm-image-motd): Likewise. * gnu/system/install.scm (installation-os)[file-systems]: Change root file system label to "Guix_image". * gnu/system/mapped-devices.scm (check-device-initrd-modules): Remove "GuixSD". * gnu/system/vm.scm (system-docker-image): Likewise. (system-disk-image)[root-label]: Change to "Guix_image". * gnu/tests/install.scm (run-install): Remove "GuixSD". * guix/modules.scm (guix-module-name?): Likewise. * nix/libstore/optimise-store.cc: Likewise. Ludovic Courtès 2019-02-06daemon: Emit a 'build-succeeded' event in check mode....Until now, something like "guix build sed -v1 --check" would not get a 'build-succeeded' event, which in turn meant that the spinner would not be erased upon build completion. * nix/libstore/build.cc (DerivationGoal::registerOutputs): When 'buildMode' is bmCheck and 'settings.printBuildTrace' emit a "@ build-succeeded" trace upon success. * tests/store.scm ("build-succeeded trace in check mode"): New test. Ludovic Courtès 2019-02-04daemon: Add "/guix" to default 'nixLibexecDir'....This makes it easier to run the uninstalled daemon. * nix/local.mk (libstore_a_CPPFLAGS): Append "/guix" to NIX_LIBEXEC_DIR. * build-aux/pre-inst-env.in (NIX_LIBEXEC_DIR): Adjust comment. * nix/libstore/builtins.cc (builtinDownload): Remove SUBDIR and its use. * nix/libstore/local-store.cc (runAuthenticationProgram): Ditto. * nix/libstore/gc.cc (addAdditionalRoots): Remove "/guix" prefix. * nix/nix-daemon/guix-daemon.cc (main): Ditto. Ludovic Courtès 2019-02-04daemon: Remove the 'NIX_SUBSTITUTERS' environment variable....* nix/libstore/globals.cc (Settings:update): Remove changes to 'substituters'. * nix/nix-daemon/guix-daemon.cc (main): Set 'settings.substituters' directly instead of changing the 'NIX_SUBSTITUTERS' environment variable. * build-aux/pre-inst-env.in: Remove reference to 'NIX_SUBSTITUTERS'. Ludovic Courtès 2019-02-04daemon: Remove unused 'NIX_DATA_DIR' environment variable....* nix/libstore/globals.hh (Settings)[nixDataDir]: Remove. * nix/libstore/globals.cc (Settings:processEnvironment): Remove setting of 'nixDataDir'. * nix/local.mk (libstore_a_CPPFLAGS): Remove '-DNIX_DATA_DIR'. Ludovic Courtès 2019-02-04daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables....Fixes <https://bugs.gnu.org/22459>. Reported by Jeff Mickey <j@codemac.net>. * guix/config2019-03-23gnu: bind: Return #T from all phases....* gnu/packages/dns.scm (isc-bind)[arguments]: Move #T from ‘check’ to ‘move-to-utils’ phase. Tobias Geerinckx-Rice 2019-03-20gnu: knot: Update to 2.8.0....* gnu/packages/dns.scm (knot): Update to 2.8.0. [source]: Add patch. * gnu/packages/patches/knot-include-system-lmdb-header.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice 2019-03-18Correct name and email address for ng0....* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gn2018-10-15daemon: Support multiplexed build output....This allows clients to tell whether output comes from the daemon or, if it comes from a builder, from which builder it comes. The latter is particularly useful when MAX-BUILD-JOBS > 1. * nix/libstore/build.cc (DerivationGoal::tryBuildHook) (DerivationGoal::startBuilder): Print the child's PID in "@ build-started" traces. (DerivationGoal::handleChildOutput): Define 'prefix', pass it to 'writeToStderr'. * nix/libstore/globals.cc (Settings:Settings): Initialize 'multiplexedBuildOutput'. (Settings::update): Likewise. * nix/libstore/globals.hh (Settings)[multiplexedBuildOutput]: New field. Update 'printBuildTrace' documentation. * nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0.163. * nix/nix-daemon/nix-daemon.cc (performOp) <wopSetOptions>: Special-case "multiplexed-build-output" and remove "use-ssh-substituter". * guix/store.scm (set-build-options): Add #:multiplexed-build-output? and honor it. (%protocol-version): Bump to #x163. * tests/store.scm ("multiplexed-build-output"): New test. fixlet Ludovic Courtès 2018-10-02daemon: Remove unused 'Settings' fields....* nix/libstore/globals.hh (Settings)[sshSubstituterHosts] [useSshSubstituter, logServers, enableImportNative]: Remove fields. * nix/libstore/globals.cc (Settings::Settings, Settings::update): Remove references to these. Ludovic Courtès 2018-09-27perform-download: Optionally report 2019-02-24gnu: bind: Update to 9.12.3-P4....* gnu/packages/dns.scm (isc-bind): Update to 9.12.3-P4. Tobias Geerinckx-Rice 2019-02-24gnu: bind: Don't use NAME in source URI....* gnu/packages/dns.scm (isc-bind)[source]: Hard-code NAME. Tobias Geerinckx-Rice 2019-02-19gnu: unbound: Update to 1.9.0....* gnu/packages/dns.scm (unbound): Update to 1.9.0. Tobias Geerinckx-Rice 2019-02-13gnu: knot: Update to 2.7.6....* gnu/packages/dns.scm (knot): Update to 2.7.6. Tobias Geerinckx-Rice 2019-02-13gnu: knot: Don't use NAME in source URI....* gnu/packages/dns.scm (knot)[source]: Hard-code NAME. Tobias Geerinckx-Rice 2019-02-13gnu: nsd: Update to 4.1.26....* gnu/packages/dns.scm (nsd): Update to 4.1.26. Tobias Geerinckx-Rice 2019-02-13gnu: yadifa: Update to 2.3.9....* gnu/packages/dns.scm (yadifa): Update to 2.3.9. Tobias Geerinckx-Rice 2019-02-13gnu: yadifa: Don't use NAME in source URI....* gnu/packages/dns.scm (yadifa)[source]: Hard-code NAME. Tobias Geerinckx-Rice 2019-01-09gnu: bind: Update to 9.12.3-P1....* gnu/packages/dns.scm (bind): Update to 9.12.3-P1. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vasile Dumitrascu 2019-01-03gnu: Add libmicrodns....* gnu/packages/dns.scm (libmicrodns): New package. Mathieu Othacehe 2018-12-03gnu: Add hnsd....Thank you, Handshake! * gnu/packages/dns.scm (hnsd): New variable. Ludovic Courtès 2018-10-26gnu: dnsmasq: Update to 2.80 [security fixes]....* gnu/packages/dns.scm (dnsmasq): Update to 2.80. Tobias Geerinckx-Rice 2018-10-23gnu: unbound: Update to 1.8.1....* gnu/packages/dns.scm (unbound): Update to 1.8.1. Tobias Geerinckx-Rice 2018-10-22gnu: knot: Update to 2.7.3....* gnu/packages/dns.scm (knot): Update to 2.7.3. Tobias Geerinckx-Rice 2018-10-04gnu: Add nsd....* gnu/packages/dns.scm (nsd): New public variable. Tobias Geerinckx-Rice 2018-09-29gnu: BIND: Update to 9.12.2-P2....* gnu/packages/dns.scm (isc-bind): Update to 9.12.2-P2. Leo Famulari 2018-09-11gnu: unbound: Update to 1.8.0....* gnu/packages/dns.scm (unbound): Update to 1.8.0. Tobias Geerinckx-Rice 2018-09-07gnu: knot: Update to 2.7.2....* gnu/packages/dns.scm (knot): Update to 2.7.2. Tobias Geerinckx-Rice 2018-08-18gnu: knot: Update to 2.7.1....* gnu/packages/dns.scm (knot): Update to 2.7.1. [inputs]: Remove nettle, python-2, and python2-lmdb. [arguments]: Remove ‘wrap-python-scripts’ phase for removed migration scripts. Remove obsolete modules from, and add dnstap support for the command-line tools to, #:configure-flags. Tobias Geerinckx-Rice 2018-08-18gnu: knot: Deduplicate documentation directories....* gnu/packages/dns.scm (knot)[arguments]: Install documentation to the correct versioned subdirectory, as already done by the build system. Tobias Geerinckx-Rice 2018-08-13gnu: BIND: Use HTTPS source URL....* gnu/packages/dns.scm (isc-bind)[source]: Use HTTPS URL. Leo Famulari 2018-08-11gnu: ddclient: Update to 3.9.0....* gnu/packages/dns.scm (ddclient): Update to 3.9.0. [inputs]: Add perl-data-validate-ip. Order alphabetically. Tobias Geerinckx-Rice 2018-08-09gnu: bind: Update to 9.12.2-P1....* gnu/packages/dns.scm (isc-bind): Update to 9.12.2-P1. Tobias Geerinckx-Rice 2018-07-13gnu: Add ddclient....* gnu/packages/dns.scm (ddclient): New variable. Oleg Pykhalov 2018-07-13gnu: bind: Update to 9.12.2....* gnu/packages/dns.scm (bind): Update to 9.12.2. * gnu/packages/patches/bind-CVE-2018-5738.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Julien Lepiller 2018-07-12gnu: unbound: Update to 1.7.3....* gnu/packages/dns.scm (unbound): Update to 1.7.3. Marius Bakke 2018-06-26gnu: knot: Return #t from all phases....* gnu/packages/backup.scm (knot)[arguments]: Substitute INVOKE for SYSTEM*. Tobias Geerinckx-Rice 2018-06-26gnu: unbound: Use INVOKE....* gnu/packages/dns.scm (unbound)[arguments]: Substitute INVOKE for SYSTEM*. Tobias Geerinckx-Rice 2018-06-26gnu: dnscrypt-wrapper: Return #t from phases....* gnu/packages/dns.scm (dnscrypt-wrapper)[arguments]: Substitute INVOKE for SYSTEM*. Tobias Geerinckx-Rice 2018-06-26gnu: dnscrypt-proxy: Return #t from phases....* gnu/packages/dns.scm (dnscrypt-proxy)[arguments]: Substitute INVOKE for SYSTEM*. Tobias Geerinckx-Rice 2018-06-15gnu: BIND: Fix CVE-2018-5738....* gnu/packages/patches/bind-CVE-2018-5738.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dns.scm (isc-bind)[source]: Use it. Leo Famulari 2018-05-31Merge branch 'master' into core-updatesMark H Weaver 2018-05-31gnu: knot: Update to 2.6.7....* gnu/packages/dns.scm (knot): Update to 2.6.7. Tobias Geerinckx-Rice 2018-05-21Merge branch 'master' into core-updatesMark H Weaver re.scm (%protocol-version): Bump to #x161. (set-build-options): #:max-build-jobs, #:max-silent-time, and #:build-cores now default to #f. Adjust handshake to new protocol. * tests/store.scm ("build-cores"): New test. * tests/guix-daemon.sh: Add test for default "build-cores" value. Ludovic Courtès 2017-01-11daemon: Allow check builds of 'builtin:download' derivations....Fixes <http://bugs.gnu.org/25089>. Reported by Leo Famulari <leo@famulari.name>. * nix/libstore/build.cc (DerivationGoal::runChild): In the 'isBuiltin' case, check whether DRV's output is in 'redirectedOutputs', and pass an 'output' argument to the built-in builder. (DerivationGoal::addHashRewrite): Add 'printMsg' call. * nix/libstore/builtins.hh (derivationBuilder): Add 'output' parameter. * nix/libstore/builtins.cc (builtinDownload): Likewise. Add OUTPUT to ARGV. * guix/scripts/perform-download.scm (perform-download): Add 'output' parameter. (guix-perform-download): Adjust 'match' clauses accordingly. * tests/derivations.scm ("'download' built-in builder, check mode"): New test. Ludovic Courtès 2016-12-29daemon: Allow fixed-output derivation builds with TMPDIR set....Fixes <http://bugs.gnu.org/25242>. Reported by Leo Famulari <leo@famulari.name>. The regression was introduced in 94d92c7796a3dd50c27d532315f7d497ac99f08e. * nix/libstore/build.cc (DerivationGoal::startBuilder): Set 'useChroot' as a function 'of isBuiltin(drv)'. (DerivationGoal::runChild): Use 'useChroot' instead of 'useChroot && !isBuiltin(drv)'. Ludovic Courtès 2016-12-09daemon: Set ownership of kept build directories to the calling user....Fixes <http://bugs.gnu.org/15890>. * nix/libstore/globals.hh (Settings) Add clientUid and clientGid. * nix/nix-daemon/nix-daemon.cc (daemonLoop] Store UID and GID of the caller in settings. * nix/libstore/build.cc (_chown): New function. (DerivationGoal::deleteTmpDir): Use it, change ownership of build directory if it is kept and the new owner is not root. Hartmut Goebel 2016-12-05daemon: Fix invalid Boost format string....* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Use %3% instead of %m, the latter being an invalid Boost format specifier. Ludovic Courtès 2016-11-16daemon: Add 'built-in-builders' RPC....* 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. Ludovic Courtès 2016-11-16daemon: Add "builtin:download" derivation builder....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> Ludovic Courtès 2016-10-28daemon: Do not error out when deduplication fails due to ENOSPC....This solves a problem whereby if /gnu/store/.links had enough entries, ext4's directory index would be full, leading to link(2) returning ENOSPC. * nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Upon ENOSPC from link(2), print a message and return instead of throwing a 'SysError'. Ludovic Courtès 2016-10-28daemon: Improve the SQLite wrapper API....In particular, this eliminates a bunch of boilerplate code. Also integrates these Nix commits: 80da7a6 Probably fix SQLITE_BUSY errors 37a337b throwSQLiteError(): Check for SIGINT so we don't loop forever Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra 2016-10-28daemon: Factor out SQLite handling....* nix/libstore/local-store.cc: Move SQLite code to... * nix/libstore/sqlite.cc, nix/libstore/sqlite.hh: ... here. New files. * nix/local.mk (libstore_a_SOURCES): Add sqlite.cc. (libstore_headers): Add sqlite.hh. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra 2016-10-28daemon: Turn retrying SQLite transactions into a higher-order function....* nix/libstore/local-store.cc (retry_sqlite, end_retry_sqlite): Remove. (retrySQLite): New template. (LocalStore::registerFailedPath, LocalStore::hasPathFailed) (LocalStore::queryFailedPaths, LocalStore::clearFailedPaths) (LocalStore::queryPathInfo, LocalStore::isValidPath_) (LocalStore::queryValidPaths, LocalStore::queryAllValidPaths) (LocalStore::queryReferrers, LocalStore::queryValidDerivers) (LocalStore::queryDerivationOutputs) (LocalStore::queryDerivationOutputNames) (LocalStore::queryPathFromHashPart, LocalStore::registerValidPaths) (LocalStore::invalidatePathChecked): Use it. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra