1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
Commit graph

327815 commits

Author SHA1 Message Date
Niklas Hambüchen 29f4f7110c nixos/smokeping: Add nh2 to maintainers 2021-11-01 23:20:40 +01:00
Niklas Hambüchen 4aeabbee61 nixos/rl-2111: Document smokeping service updates 2021-11-01 23:20:40 +01:00
Niklas Hambüchen c7ed7466c3 nixos/smokeping: Don't listen on all interfaces by default.
In general, NixOS services are configured such that by default
they are not exposed to the Internet for security, see #100192.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen bb2a6ec751 nixos/smokeping: Use requiredBy instead of wantedBy.
This makes switch-configuration fail if something is wrong with it,
which is desired especially for NixOps deployments.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen 123171b557 nixos/smokeping: Remove partOf to ensure restarts work.
Details on https://github.com/NixOS/nixops/issues/1063#issuecomment-453253666.

`partOf` makes that if `smokeping.service` is stopped, `thttpd.service` will
be stopped as well.
(But not that `thttpd` will be started when `smokeping` is started).

Once `thttpd.service` is stopped that way, `Restart = always` will not apply.

When the smokeping config options are changed, NixOS's `switch-configuration.pl`
will stop `smokeping` (whit shuts down thttpd due to `partOf`), and then restart
smokeping; but this does not start thttpd.
As a result, thttpd will be off after changing the config, which isn't desired.

This commit fixes it by removing the `partOf`, which makes `Restart` work
as expected.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen 17e4387b38 nixos/smokeping: Make default imgUrl relative.
This avoids a common problem:

Until now, port forwarding to multiple hosts running smokeping did not work;
they all show the data of the first smokeping instance.
That ws because the image URLs generated by smokeping are absolute
(`imgurl` setting).
Consequently, if you ran
  ssh node-1 -L 8081:localhost:8081
  ssh node-2 -L 8081:localhost:8082
  ssh node-3 -L 8081:localhost:8083
and try to open http://localhost:8081, http://localhost:8082 and
http://localhost:8083, they all would show the images of node-1!

Using a relative `imgurl` fixes that.
As per smokeping docs on `imgurl`:

> Either an absolute URL to the `imgcache` directory or one relative to the
> directory where you keep the SmokePing cgi.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen 2760695df0 nixos/smokeping: Add host option.
Allows setting smokeping to not listen on the public Internet.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen 0a2103547f nixos/smokeping: Remove bash wrapper, refactor.
The bash wrapper process served no purpose, and systemd directly controlling the
processes is more reliable / more responsive to systemctl commands.
2021-11-01 23:20:40 +01:00
Michael Raskin f0f12b2ad0
Merge pull request #143160 from thblt/amc
auto-multiple-choice: init at 1.5.1
2021-11-01 22:20:27 +00:00
Sandro 3c691c350f
Merge pull request #143967 from cpcloud/remove-abseil-cxx-standard-flag
abseil-cpp: remove cxx standard flag
2021-11-01 23:03:19 +01:00
Sandro 31ed7e2c53
Merge pull request #144152 from aanderse/kodi.packages.jellyfin 2021-11-01 22:18:22 +01:00
Sandro 572b0c3f23
Merge pull request #143457 from ck3d/pinentry-1.2.0 2021-11-01 22:18:08 +01:00
Maciej Krüger 355010ed9e
Merge pull request #144139 from jojosch/dbeaver-21.2.4 2021-11-01 22:05:43 +01:00
Fabian Affolter bdfe7f369b
Merge pull request #144151 from r-ryantm/auto-update/python38Packages.pex
python38Packages.pex: 2.1.53 -> 2.1.54
2021-11-01 21:58:10 +01:00
Sandro Jäckel e884e2840e
tdesktop: fix build 2021-11-01 21:49:45 +01:00
Sandro Jäckel 76079c145b
fcitx5-mozc: fix build 2021-11-01 21:39:41 +01:00
Sandro fd70eae72f
Merge pull request #144031 from CajuM/pyclip 2021-11-01 21:37:23 +01:00
polykernel cd6397519f lib/lists: mutuallyExclusive function optimization
The current implementation of `mutuallyExclusive` builds a new list with
length subtracted by one on every recursive call which is expensive. When
b is empty, the function still traverses a in its entirety before returning
a result.

The new implementation uses `any` to check if each element of list b is in
list a using `elem`. This maintains short circuiting when list a or b is empty
and has a worst case time complexity of O(nm).
2021-11-01 16:29:01 -04:00
Sandro 18b9519c0a
Merge pull request #144144 from fortuneteller2k/river 2021-11-01 21:27:34 +01:00
fortuneteller2k 65590d546c river: 2021-09-30 -> 2021-11-01 2021-11-02 10:01:27 +08:00
Julian Stecklina 6204fa6c7a
spike: move test to installCheck phase (#143832)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:26:38 +01:00
Aaron Andersen a325e50cff
Merge pull request #143706 from aanderse/zabbix
zabbix: package updates
2021-11-01 16:25:21 -04:00
Aaron Andersen 121dfb7a5a kodi.packages.jellyfin: 0.7.4 -> 0.7.7 2021-11-01 16:24:13 -04:00
R. Ryantm bf2f82a437 python38Packages.azure-mgmt-eventhub: 9.1.0 -> 10.0.0 2021-11-01 13:22:29 -07:00
P 6751e7428f
whalebird: init at 4.4.5 (#142885)
* whalebird: init at 4.4.5

* Update pkgs/applications/misc/whalebird/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:17:46 +01:00
markuskowa dd49b2dbf0
Merge pull request #143279 from r-ryantm/auto-update/vdr
vdr: 2.4.7 -> 2.5.6
2021-11-01 21:17:14 +01:00
P 78dd8567c1
threema-desktop: init at 1.0.3 (#143194)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:16:52 +01:00
Dmitry Bogatov f538c07f2e
datefudge: work correctly even if GNU date is not in PATH (#94045)
* datefudge: work correctly even if GNU date is not in PATH

Examples in manual assumes advanced features from date(1) like "last
Friday", which only available in GNU coreutils version of date(1)
utility. Without this patch, most examples from datefudge(1) manual will
fail in busybox environment, which is confusing.

* Apply suggestions from code review

* Update pkgs/tools/system/datefudge/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:15:50 +01:00
markuskowa 6834ca6639
Merge pull request #143421 from ck3d/fix-neovim-EDITOR
nixos/neovim: Respect option defaultEditor
2021-11-01 21:14:04 +01:00
Sandro 107b7f5d39
Merge pull request #144059 from r-burns/xdis-uncompyle6
python3Packages.{xdis,uncompyle6}: bump to latest to support python 3.8.12
2021-11-01 21:12:22 +01:00
Sandro b07533d824
Merge pull request #144146 from jraygauthier/jrg/nxpmicro-mfgtools-up-to-1-4-165 2021-11-01 21:11:55 +01:00
Sandro 8546b91ba9
Merge pull request #144147 from maaslalani/ml-bump-slides
slides: 0.6.2 -> 0.7.2
2021-11-01 21:11:07 +01:00
Sandro 743a26031e
Merge pull request #144148 from jojosch/protoc-gen-twirp_php-0.8.0
protoc-gen-twirp_php: 0.7.5 -> 0.8.0
2021-11-01 21:09:51 +01:00
markuskowa b45eb36bb3
Merge pull request #143470 from ck3d/vdrPlugins.epgsearch-2.4.1
vdrPlugins.epgsearch: 20191202 -> 2.4.1
2021-11-01 21:05:17 +01:00
R. Ryantm f048f4a329 python38Packages.pex: 2.1.53 -> 2.1.54 2021-11-01 20:05:06 +00:00
Sandro acab4d1d4d
Merge pull request #143197 from WolfangAukang/markmind 2021-11-01 20:55:49 +01:00
Justin Bedő fe9d7a107b
Merge pull request #144149 from NixOS/r-updates
rPackages: package updates
2021-11-02 06:51:46 +11:00
Sandro 129c285678
Merge pull request #142814 from WolfangAukang/buttercup 2021-11-01 20:50:51 +01:00
Sandro aca5a03bef
Merge pull request #143647 from r-ryantm/auto-update/etcher 2021-11-01 20:46:12 +01:00
Sandro 576ab5d0dd
Merge pull request #140769 from 06kellyjac/opa 2021-11-01 20:45:45 +01:00
flexagoon b3ce132ad2
sierra-breeze-enhanced: init at 1.0.3 (#143696) 2021-11-01 20:44:52 +01:00
Vincent Laporte f727a6aebe why3: remove spurious camlp5 dependency 2021-11-01 20:37:57 +01:00
Johannes Schleifenbaum 2628350c27
protoc-gen-twirp_php: 0.7.5 -> 0.8.0 2021-11-01 20:15:41 +01:00
Ryan Burns d68cb2ac45 python3Packages.uncompyle6: 3.7.4 -> 3.8.0 2021-11-01 12:11:09 -07:00
Ryan Burns a45bb60ece python3Packages.xdis: 5.0.11 -> 6.0.2 2021-11-01 12:11:09 -07:00
Maas Lalani 9b51266f85
slides: 0.6.2 -> 0.7.2 2021-11-01 15:06:38 -04:00
Raymond Gauthier 3a912b2cac
nxpmicro-mfgtools: 1.4.72 -> 1.4.165
Also:

 -  Add support for provided bash completions.
 -  Add myself as maintainer.
2021-11-01 14:53:58 -04:00
Gabriel Ebner b165ce0c4e
Merge pull request #144145 from collares/lean-3.35
lean: 3.33.0 -> 3.35.0
2021-11-01 19:42:18 +01:00
Mihai-Drosi Câju 5d70e69622 python3Packages.pyclip: init at 0.5.4 2021-11-01 20:34:59 +02:00
Bernardo Meurer 15e457bd84
Merge pull request #144143 from lovesegfault/make-rust-platform-stdenv-redux
makeRustPlatform: allow to easily override stdenv
2021-11-01 11:21:35 -07:00