aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* gnu: Add r-graphlayouts.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-graphlayouts): New variable.
* gnu: Add r-systemfonts.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-systemfonts): New variable.
* gnu: Add r-covr.Ricardo Wurmus2019-09-08
| | | | * gnu/packages/cran.scm (r-covr): New variable.
* tests: opam: Fix input type in import test.Julien Lepiller2019-09-07
| | | | * tests/opam.scm: Expect propagated-inputs instead of inputs.
* gnu: poussetaches: Update to 0.0.2.Arun Isaac2019-09-08
| | | | * gnu/packages/web.scm (poussetaches): Update to 0.0.2.
* gnu: nml: Fix for newer pillow version.Julien Lepiller2019-09-07
| | | | | * gnu/packages/game-development.scm (nml)[arguments]: Add a phase to fix for newer pillow.
* doc: Use @lisp instead of @example for Scheme snippets.Ludovic Courtès2019-09-07
| | | | | | | | This is a followup to f8c143a7131d6f40f387f4cd2ad1fa78b5e2f429, which allows syntax highlighting of @lisp snippets in the HTML output. * doc/guix.texi, doc/contributing.texi: Use @lisp instead of @example for all the Scheme snippets.
* doc: Work around (htmlprag) parser issue.Ludovic Courtès2019-09-07
| | | | | * doc/build.scm (guile-lib/htmlprag-fixed): New variable. (syntax-highlighted-html): Use it instead of GUILE-LIB.
* gnu: qtermwidget: Enable UTF-8 support.Kei Kebreau2019-09-07
| | | | * gnu/packages/lxqt.scm (qtermwidget)[inputs]: Add utf8proc.
* gnu: wireguard: Update to 0.0.20190905.Rutger Helling2019-09-07
| | | | * gnu/packages/vpn.scm (wireguard): Update to 0.0.20190905.
* gnu: linux-libre: Update to 5.2.13.Mark H Weaver2019-09-06
| | | | | * gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.13. (linux-libre-5.2-pristine-source): Update hash.
* gnu: linux-libre@4.14: Update to 4.19.71.Mark H Weaver2019-09-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.71. (linux-libre-4.19-pristine-source): Update hash.
* gnu: linux-libre@4.14: Update to 4.14.142.Mark H Weaver2019-09-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.142. (linux-libre-4.14-pristine-source): Update hash.
* gnu: linux-libre@4.9: Update to 4.9.191.Mark H Weaver2019-09-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.191. (linux-libre-4.9-pristine-source): Update hash.
* gnu: linux-libre@4.4: Update to 4.4.191.Mark H Weaver2019-09-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.191. (linux-libre-4.4-pristine-source): Update hash.
* Revert "services: Add ‘/usr/bin/env’ special file."Mark H Weaver2019-09-06
| | | | | | | | This reverts commit 3b38bf141a464e1bb370af7d2b2651d1efb29781. The Guix project discussed this years ago and decided against including /usr/bin/env. That decision should not be reversed without a wider discussion.
* gnu: python-scipy: Update to 1.3.1.Ricardo Wurmus2019-09-07
| | | | | * gnu/packages/python-xyz.scm (python-scipy): Update to 1.3.1. (python2-scipy): Keep at version 1.2.2.