me
/
guix
Archived
1
0
Fork 0
Commit Graph

47808 Commits (222510f404c00e18788751f9739b69c21854cc2b)

Author SHA1 Message Date
Efraim Flashner 4151447897
gnu: js-selectize: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-selectize)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 778f4430e0
gnu: js-highlight: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-highlight)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 16df291414
gnu: js-strftime: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-strftime)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 8a35e58a27
gnu: js-html5shiv: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-html5shiv)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Maxim Cournoyer ccdfae388d
services: openntpd: Fix the config generation code.
This fixes issue #37318 (see: http://bugs.gnu.org/37318).

* gnu/services/networking.scm (openntpd-configuration->string): Rewrite in
order to make the "openntpd configuration generation sanity check" test pass.
2019-09-08 23:15:32 +09:00
Maxim Cournoyer 2625abc6aa
services: openntpd: Add test for issue #3731.
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318.

* gnu/services/networking.scm (openntpd-configuration->string): New procedure,
extracted from top of the `openntpd-shepherd-service' to make it testable.
(openntpd-shepherd-service): Adapt following the move of the code to the above
procedure.
* tests/networking.scm: Add a test for the `openntpd-configuration->string'
procedure.
2019-09-08 23:15:32 +09:00
Maxim Cournoyer afd39a76e2
services: openntpd: Remove useless let.
* gnu/services/networking.scm (openntpd-shepherd-service): Remove useless let.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer f92cf9d356
gnu: openntpd: Fix error CA errors when using constraints.
The error printed by nttpd was "constraint: failed to load constraint ca" when
libressl tried loading the file /etc/ssl/cert.pem.  The problem was
investigated as part of fixing issue 37318 (see:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318).

* gnu/packages/ntp.scm (openntpd)[configure-flags]: Use the '--with-cacert'
flag to specify the location of the certificate authority file of libressl.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer 5658ae8a0a
services: ntp: Support different NTP server types and options.
* 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.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer ac73f504cf
doc: Add index to find 'ntpd'.
* doc/guix.texi (Networking Services): Add @cindex to find 'ntpd'
2019-09-08 23:15:30 +09:00
Maxim Cournoyer d4de2f9ea4
services: ntp: Fix KOD warning.
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.
2019-09-08 23:15:30 +09:00
Maxim Cournoyer 08b4a10fa6
services: ntp: Allow large adjustment by default.
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.
2019-09-08 23:15:29 +09:00
Matthew Kraai 861b9a365b
doc: Fix verb conjugation.
* doc/guix.texi (Invoking guix pull): Change "run" to "ran".

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-09-08 14:55:25 +02:00
L p R n d n 3426c0e531
gnu: thunar-volman: Update to 0.9.5.
* gnu/packages/xfce.scm (thunar-volman): Update to 0.9.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
Ludovic Courtès 982a94e97e
import: github: Fix incorrect no-release case.
This is a followup to 81c3dc3224.

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.
2019-09-08 14:43:41 +02:00
L p R n d n 2bb2971883
gnu: tumbler: Remove unused gstreamer.
* gnu/packages/xfce.scm (tumbler)[inputs]: Remove gstreamer.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
L p R n d n 2a6f5190cf
gnu: tumbler: Fix pdf thumbnailer.
* gnu/packages/xfce.scm (tumbler)[inputs]: Add cairo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
Ludovic Courtès befac35876
gnu: libraft: Fetch source from Git.
* gnu/packages/cluster.scm (libraft)[source]: Switch to GIT-FETCH.
2019-09-08 14:43:41 +02:00
Andrew Miloradovsky 45151bcb94
gnu: Add libraft
* gnu/packages/cluster.scm (libraft): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
Ludovic Courtès 74781c65f3
gnu: guix: Update to cc98b00.
* gnu/packages/package-management.scm (guix): Update to cc98b00.
(guix-daemon)[arguments]: Remove 'install' phase; add
'change-default-guix' phase.
2019-09-08 14:43:41 +02:00
Efraim Flashner 28ac73358f
gnu: micropython: Update to 1.11.
* gnu/packages/python.scm (micropython): Update to 1.11.
2019-09-08 14:43:15 +03:00
Efraim Flashner 78249ebf5b
gnu: wget2: Update to 1.99.2.
* 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.
2019-09-08 13:53:26 +03:00
Efraim Flashner 7fb742215c
gnu: wget.scm: Use license: prefix.
* gnu/packages/wget.scm (wget, wgetpaste, wget2)[license]: Use
'license:' prefix.
2019-09-08 13:53:26 +03:00
Ludovic Courtès cc98b00857
etc: Remove references to libexec/guix* from SELinux policy.
* etc/guix-daemon.cil.in: Remove references to libexec/guix*.
2019-09-08 11:49:25 +02:00
Ludovic Courtès 82f903e70f
daemon: Remove 'NIX_LIBEXEC_DIR'.
* 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'.
2019-09-08 11:49:24 +02:00
Ludovic Courtès f6919ebdc6
daemon: Run 'guix substitute' directly and assume a single substituter.
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.
2019-09-08 11:49:24 +02:00
Ludovic Courtès bc69ea2d60
daemon: Run 'guix offload' directly.
* 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.
2019-09-08 11:49:24 +02:00
Ludovic Courtès 9fcc35c51f
daemon: Run 'guix perform-download' directly.
* 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.
2019-09-08 11:49:24 +02:00
Ludovic Courtès 0c684b7edf
daemon: Run 'guix authenticate' directly.
* 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'.
2019-09-08 11:49:24 +02:00
Ludovic Courtès 2e3e5d2198
daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'.
* 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.
2019-09-08 11:49:24 +02:00
raingloom 7fcc2f9355
gnu: Add fmit.
* gnu/packages/music.scm (fmit): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2019-09-08 11:08:46 +02:00
Efraim Flashner 799d8d3ca6
gnu: haskell-xyz.scm: Correctly hide packages.
* 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.
2019-09-08 11:18:39 +03:00
Ricardo Wurmus e0819e5ca2
gnu: Add emacs-tao-theme.
* gnu/packages/emacs-xyz.scm (emacs-tao-theme): New variable.
2019-09-08 09:27:26 +02:00
Vagrant Cascadian bc5aa38667
gnu: Add odt2txt.
* gnu/packages/textutils (odt2txt): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add odt2txt.
  [use-modules]: Remove accidentally added libreoffice package module.
2019-09-08 00:21:21 -07:00
Vagrant Cascadian d54ca1cd4d
gnu: Add sng.
* gnu/packages/images (sng): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add sng.
2019-09-07 23:44:04 -07:00
Vagrant Cascadian 68fea604b0
gnu: Add pngsuite.
* gnu/packages/image (pngsuite): New variable.
2019-09-07 23:44:01 -07:00
Vagrant Cascadian 37ecf2d905
gnu: diffoscope: Enable even more tests.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add additional
  dependencies for tests.
  [use-module]: Add corresponding package modules.
2019-09-07 20:28:48 -07:00
Vagrant Cascadian 3dd20da0cb
gnu: diffoscope: Enable additional tests.
* gnu/packages/package-management (diffoscope) [native-inputs]: Add additional
  packages used for tests.
2019-09-07 20:28:35 -07:00
Vagrant Cascadian 3ec8c0ca94
gnu: diffoscope: Update to 123.
* gnu/packages/package-management (diffoscope): Update to 123.
  [arguments]: Update phase writable-test-data to include tests directory.
    Add phase remove-ocaml-test.
2019-09-07 20:28:18 -07:00
Vagrant Cascadian 9f74bd317f
gnu: python-debian: Update to 0.1.36.
* 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.
2019-09-07 20:27:34 -07:00
Ricardo Wurmus f791b1eecc
gnu: r-rsubread: Update to 1.34.7.
* gnu/packages/bioconductor.scm (r-rsubread): Update to 1.34.7.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus a39222d7e2
gnu: r-regioner: Update to 1.16.3.
* gnu/packages/bioconductor.scm (r-regioner): Update to 1.16.3.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus d40ebbf228
gnu: r-gprofiler: Update to 0.6.8.
* gnu/packages/bioinformatics.scm (r-gprofiler): Update to 0.6.8.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 8e70b33c56
gnu: r-annotationhub: Update to 2.16.1.
* gnu/packages/bioinformatics.scm (r-annotationhub): Update to 2.16.1.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus f70599cb78
gnu: r-edger: Update to 3.26.8.
* gnu/packages/bioinformatics.scm (r-edger): Update to 3.26.8.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 801dc98f1f
gnu: r-ggraph: Update to 2.0.0.
* gnu/packages/cran.scm (r-ggraph): Update to 2.0.0.
[propagated-inputs]: Add r-graphlayouts, r-rlang, and r-tidygraph; remove
r-plyr.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 995a20e892
gnu: r-msigdbr: Update to 7.0.1.
* gnu/packages/cran.scm (r-msigdbr): Update to 7.0.1.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus f396d343b7
gnu: r-ggeffects: Update to 0.12.0.
* gnu/packages/cran.scm (r-ggeffects): Update to 0.12.0.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 9a4706828c
gnu: r-ggformula: Update to 0.9.2.
* gnu/packages/cran.scm (r-ggformula): Update to 0.9.2.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus c90eebf791
gnu: r-insight: Update to 0.5.0.
* gnu/packages/cran.scm (r-insight): Update to 0.5.0.
2019-09-08 00:30:33 +02:00