aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* services: ntp: Support different NTP server types and options.Maxim Cournoyer2019-09-08
| | | | | | | | | | | | | | | | | | | * gnu/services/networking.scm (ntp-server-types): New enum. (<ntp-server>): New record type. (ntp-server->string): New procedure. (%ntp-servers): Define in terms of <htp-server> records. Use the first entrypoint server as a pool instead of a list of static servers. This is more resilient since a new server of the pool can be interrogated on every request. Add the 'iburst' options. (ntp-configuration-servers): Define a custom accessor that warns but honors the now deprecated server format. (<ntp-configuration>): Use it. (%openntpd-servers): New variable, (<openntpd-configuration>): Use it, as a pool ('servers' field) instead of a regular server. * tests/networking.scm: New file. * Makefile.am (SCM_TESTS): Register it. * doc/guix.texi: Update documentation.
* doc: Add index to find 'ntpd'.Maxim Cournoyer2019-09-08
| | | | * doc/guix.texi (Networking Services): Add @cindex to find 'ntpd'
* services: ntp: Fix KOD warning.Maxim Cournoyer2019-09-08
| | | | | | | | | | | | | Otherwise the following messages would be printed by ntpd: Sep 2 05:18:21 localhost ntpd[15849]: restrict default: KOD does nothing without LIMITE. Sep 2 05:18:21 localhost ntpd[15849]: restrict ::: KOD does nothing without LIMITED. Debian uses the same set of "restrict" keywords (see: https://sources.debian.org/src/ntp/1:4.2.8p13+dfsg-2/debian/ntp.conf). * gnu/services/networking.scm (ntp-shepherd-service): Add the 'limited' keyword to both the IPv4 and IPv6 'restrict' directives.
* services: ntp: Allow large adjustment by default.Maxim Cournoyer2019-09-08
| | | | | | | | | | This is documented as best practice in `man ntpd', and is required to allow the date to be set correctly when traveling (without having to manually update the hardware clock in the BIOS/UEFI). * gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set the default value to #t. * doc/guix.texi (Networking Services): Update documentation.
* doc: Fix verb conjugation.Matthew Kraai2019-09-08
| | | | | | * doc/guix.texi (Invoking guix pull): Change "run" to "ran". Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* gnu: thunar-volman: Update to 0.9.5.L p R n d n2019-09-08
| | | | | | * gnu/packages/xfce.scm (thunar-volman): Update to 0.9.5. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: github: Fix incorrect no-release case.Ludovic Courtès2019-09-08
| | | | | | | | | | This is a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d. Since that commit, when /releases returned an empty JSON array, we would not fall back to /tags because of the incorrect match. * guix/import/github.scm (fetch-releases-or-tags): Match the empty vector instead of the empty list.
* gnu: tumbler: Remove unused gstreamer.L p R n d n2019-09-08
| | | | | | * gnu/packages/xfce.scm (tumbler)[inputs]: Remove gstreamer. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: tumbler: Fix pdf thumbnailer.L p R n d n2019-09-08
| | | | | | * gnu/packages/xfce.scm (tumbler)[inputs]: Add cairo. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: libraft: Fetch source from Git.Ludovic Courtès2019-09-08
| | | | * gnu/packages/cluster.scm (libraft)[source]: Switch to GIT-FETCH.
* gnu: Add libraftAndrew Miloradovsky2019-09-08
| | | | | | * gnu/packages/cluster.scm (libraft): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: guix: Update to cc98b00.Ludovic Courtès2019-09-08
| | | | | | * gnu/packages/package-management.scm (guix): Update to cc98b00. (guix-daemon)[arguments]: Remove 'install' phase; add 'change-default-guix' phase.
* gnu: micropython: Update to 1.11.Efraim Flashner2019-09-08
| | | | * gnu/packages/python.scm (micropython): Update to 1.11.
* gnu: wget2: Update to 1.99.2.Efraim Flashner2019-09-08
| | | | | | | | | | * gnu/packages/wget.scm (wget2): Update to 1.99.2. [source]: Download from gnu mirrors. [arguments]: Remove custom 'bootstrap phase, update custom 'skip-network-tests phase. Don't build static library. [inputs]: Add bzip2, gpgme, zlib. [native-inputs]: Remove autoconf, automake, flex, gettext-minimal, libtool, python-2.
* gnu: wget.scm: Use license: prefix.Efraim Flashner2019-09-08
| | | | | * gnu/packages/wget.scm (wget, wgetpaste, wget2)[license]: Use 'license:' prefix.
* etc: Remove references to libexec/guix* from SELinux policy.Ludovic Courtès2019-09-08
| | | | * etc/guix-daemon.cil.in: Remove references to libexec/guix*.
* daemon: Remove 'NIX_LIBEXEC_DIR'.Ludovic Courtès2019-09-08
| | | | | | | | * nix/libstore/globals.hh (Settings)[nixLibexecDir]: Remove. * nix/libstore/globals.cc (Settings::processEnvironment): Remove reference to 'nixLibexecDir'. * nix/local.mk (libstore_a_CPPFLAGS): Remove -DNIX_LIBEXEC_DIR flag. * build-aux/pre-inst-env.in: Remove references to 'NIX_LIBEXEC_DIR'.
* daemon: Run 'guix substitute' directly and assume a single substituter.Ludovic Courtès2019-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The daemon had a mechanism that allows it to handle a list of substituters and try them sequentially; this removes it. * nix/scripts/substitute.in: Remove. * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove. * config-daemon.ac: Don't output 'nix/scripts/substitute'. * nix/libstore/build.cc (SubstitutionGoal)[subs, sub, hasSubstitute]: Remove. [tryNext]: Make private. (SubstitutionGoal::SubstitutionGoal, SubstitutionGoal::init): Remove now unneeded initializers. (SubstitutionGoal::tryNext): Adjust to assume a single substituter: call 'amDone' upfront when we couldn't find substitutes. (SubstitutionGoal::tryToRun): Adjust to run 'guix substitute' via 'settings.guixProgram'. (SubstitutionGoal::finished): Call 'amDone(ecFailed)' upon failure instead of setting 'state' to 'tryNext'. * nix/libstore/globals.hh (Settings)[substituters]: Remove. * nix/libstore/local-store.cc (LocalStore::~LocalStore): Adjust to handle a single substituter. (LocalStore::startSubstituter): Remove 'path' parameter. Adjust to invoke 'settings.guixProgram'. Don't refer to 'run.program', which no longer exists. (LocalStore::querySubstitutablePaths): Adjust for 'runningSubstituters' being a singleton instead of a list. (LocalStore::querySubstitutablePathInfos): Likewise, and remove 'substituter' parameter. * nix/libstore/local-store.hh (RunningSubstituter)[program]: Remove. (LocalStore)[runningSubstituters]: Remove. [runningSubstituter]: New field. [querySubstitutablePathInfos]: Remove 'substituter' parameter. [startSubstituter]: Remove 'substituter' parameter. * nix/nix-daemon/guix-daemon.cc (main): Remove references to 'settings.substituters'. * nix/nix-daemon/nix-daemon.cc (performOp): Ignore the user's "build-use-substitutes" value when 'settings.useSubstitutes' is false.
* daemon: Run 'guix offload' directly.Ludovic Courtès2019-09-08
| | | | | | | | | | | | | | | * nix/scripts/offload.in: Remove. * nix/local.mk (nodist_pkglibexec_SCRIPTS) [BUILD_DAEMON_OFFLOAD]: Remove 'scripts/offload'. * config-daemon.ac: Don't output 'nix/scripts/offload'. * build-aux/pre-inst-env.in: Don't set 'NIX_BUILD_HOOK'. * nix/libstore/build.cc (HookInstance::HookInstance): Run 'guix offload'. (DerivationGoal::tryBuildHook): Remove reference to 'NIX_BUILD_HOOK'. * nix/nix-daemon/guix-daemon.cc (main) [HAVE_DAEMON_OFFLOAD_HOOK]: Don't set 'NIX_BUILD_HOOK'. * nix/nix-daemon/nix-daemon.cc (performOp) [!HAVE_DAEMON_OFFLOAD_HOOK]: Leave 'settings.useBuildHook' unchanged.
* daemon: Run 'guix perform-download' directly.Ludovic Courtès2019-09-08
| | | | | | | | * nix/scripts/download.in: Remove. * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove 'scripts/download'. * config-daemon.ac: Don't output 'nix/scripts/download'. * nix/libstore/builtins.cc (builtinDownload): Invoke 'guix perform-download' directly.
* daemon: Run 'guix authenticate' directly.Ludovic Courtès2019-09-08
| | | | | | | | | * nix/scripts/authenticate.in: Remove. * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove scripts/authenticate. * config-daemon.ac: Don't output 'nix/scripts/authenticate'. * nix/libstore/local-store.cc (runAuthenticationProgram): Run 'guix authenticate'.
* daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'.Ludovic Courtès2019-09-08
| | | | | | | | | | | | | | | | | | | | | | | * nix/scripts/list-runtime-roots.in: Remove. * guix/store/roots.scm (%proc-directory): New variable. (proc-file-roots, proc-exe-roots, proc-cwd-roots) (proc-fd-roots, proc-maps-roots, proc-environ-roots) (referenced-files, canonicalize-store-item, busy-store-items): New procedures, taken from 'list-runtime-roots.in'. * nix/libstore/globals.hh (Settings)[guixProgram]: New field. * nix/libstore/globals.cc (Settings::processEnvironment): Initialize 'guixProgram'. * nix/libstore/gc.cc (addAdditionalRoots): Drop code related to 'NIX_ROOT_FINDER'. Run "guix gc --list-busy". * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove 'scripts/list-runtime-roots'. * config-daemon.ac: Don't output nix/scripts/list-runtime-roots. * build-aux/pre-inst-env.in: Don't set 'NIX_ROOT_FINDER'. Set 'GUIX'. * doc/guix.texi (Invoking guix gc): Document '--list-busy'. * guix/scripts/gc.scm (show-help, %options): Add "--list-busy". (guix-gc)[list-busy]: New procedure. Handle the 'list-busy' action.
* gnu: Add fmit.raingloom2019-09-08
| | | | | | * gnu/packages/music.scm (fmit): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu: haskell-xyz.scm: Correctly hide packages.Efraim Flashner2019-09-08
| | | | | | | * gnu/packages/haskell-xyz.scm (ghc-attoparsec-bootstrap, ghc-integer-logarithms-bootstrap, ghc-scientific-bootstrap, ghc-semigroups-bootstrap, ghc-unordered-containers-bootstrap, ghc-wcwidth-bootstrap)[properties]: Fix typo, make 'hidden?' a tuple.
* gnu: Add emacs-tao-theme.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/emacs-xyz.scm (emacs-tao-theme): New variable.
* gnu: Add odt2txt.Vagrant Cascadian2019-09-08
| | | | | | * gnu/packages/textutils (odt2txt): New variable. * gnu/packages/package-management (diffoscope)[native-inputs]: Add odt2txt. [use-modules]: Remove accidentally added libreoffice package module.
* gnu: Add sng.Vagrant Cascadian2019-09-07
| | | | | * gnu/packages/images (sng): New variable. * gnu/packages/package-management (diffoscope)[native-inputs]: Add sng.
* gnu: Add pngsuite.Vagrant Cascadian2019-09-07
| | | | * gnu/packages/image (pngsuite): New variable.
* gnu: diffoscope: Enable even more tests.Vagrant Cascadian2019-09-07
| | | | | | * gnu/packages/package-management (diffoscope)[native-inputs]: Add additional dependencies for tests. [use-module]: Add corresponding package modules.
* gnu: diffoscope: Enable additional tests.Vagrant Cascadian2019-09-07
| | | | | * gnu/packages/package-management (diffoscope) [native-inputs]: Add additional packages used for tests.
* gnu: diffoscope: Update to 123.Vagrant Cascadian2019-09-07
| | | | | | * gnu/packages/package-management (diffoscope): Update to 123. [arguments]: Update phase writable-test-data to include tests directory. Add phase remove-ocaml-test.
* gnu: python-debian: Update to 0.1.36.Vagrant Cascadian2019-09-07
| | | | | | | | * gnu/packages/python-xyz (python-debian): Update to 0.1.36. [source]: Switch to using git-fetch. [arguments]: Add phase to delete tests depending on tools not yet present in guix. [propagated-inputs]: Add python-chardet.
* gnu: r-rsubread: Update to 1.34.7.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/bioconductor.scm (r-rsubread): Update to 1.34.7.
* gnu: r-regioner: Update to 1.16.3.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/bioconductor.scm (r-regioner): Update to 1.16.3.
* gnu: r-gprofiler: Update to 0.6.8.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/bioinformatics.scm (r-gprofiler): Update to 0.6.8.
* gnu: r-annotationhub: Update to 2.16.1.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/bioinformatics.scm (r-annotationhub): Update to 2.16.1.
* gnu: r-edger: Update to 3.26.8.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/bioinformatics.scm (r-edger): Update to 3.26.8.
* gnu: r-ggraph: Update to 2.0.0.Ricardo Wurmus2019-09-08
| | | | | | * gnu/packages/cran.scm (r-ggraph): Update to 2.0.0. [propagated-inputs]: Add r-graphlayouts, r-rlang, and r-tidygraph; remove r-plyr.
* gnu: r-msigdbr: Update to 7.0.1.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-msigdbr): Update to 7.0.1.
* gnu: r-ggeffects: Update to 0.12.0.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-ggeffects): Update to 0.12.0.
* gnu: r-ggformula: Update to 0.9.2.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-ggformula): Update to 0.9.2.
* gnu: r-insight: Update to 0.5.0.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-insight): Update to 0.5.0.
* gnu: r-ggpubr: Update to 0.2.3.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-ggpubr): Update to 0.2.3.
* gnu: r-geometry: Update to 0.4.4.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-geometry): Update to 0.4.4.
* gnu: r-feather: Update to 0.3.4.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-feather): Update to 0.3.4.
* gnu: r-matrixstats: Update to 0.55.0.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/statistics.scm (r-matrixstats): Update to 0.55.0.
* gnu: r-rcpparmadillo: Update to 0.9.700.2.0.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.700.2.0.
* gnu: r-devtools: Update to 2.2.0.Ricardo Wurmus2019-09-08
| | | | | | * gnu/packages/statistics.scm (r-devtools): Update to 2.2.0. [propagated-inputs]: Add r-covr, r-crayon, r-desc, r-dt, r-ellipsis, r-glue, and r-rversions.
* gnu: r-gdtools: Update to 0.2.0.Ricardo Wurmus2019-09-08
| | | | | | * gnu/packages/statistics.scm (r-gdtools): Update to 0.2.0. [inputs]: Add freetype. [propagated-inputs]: Add r-systemfonts; remove r-withr.
* gnu: Add r-tidygraph.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-tidygraph): New variable.