Commit graph

282145 commits

Author SHA1 Message Date
Fabian Affolter
212244cd08 python3Packages.pykwalify: 1.7.0 -> 1.8.0 2021-04-10 13:32:01 +02:00
Dmitry Kalinkin
c32ba28e67
github-runner: fix eval (#119011) 2021-04-10 07:14:10 -04:00
R. RyanTM
79ea4d0e0f go-toml: 1.8.1 -> 1.9.0 2021-04-10 11:09:57 +00:00
R. RyanTM
6eba460076 go-ethereum: 1.10.1 -> 1.10.2 2021-04-10 11:05:29 +00:00
Martin Weinelt
fe3ffe4beb home-assistant: 2021.4.2 -> 2021.4.3 2021-04-10 12:30:21 +02:00
Vincent Haupert
f4af2f267a
nixos/github-runner: init at v2.277.1 (#116775)
* github-runner: init at 2.277.1

* nixos/github-runner: initial version

* nixos/github-runner: add warning if tokenFile in Nix store

* github-runner: don't accept unexpected attrs

* github-runner: formatting nits

* github-runner: add pre and post hooks to checkPhase

* nixos/github-runner: update ExecStartPre= comment

* nixos/github-runner: adapt tokenFile option description

Also note that not only a change to the option value will trigger a
reconfiguration but also modifications to the file's content.

* nixos/github-runner: remove mkDefault for DynamicUser=

* nixos/github-runner: create a parent for systemd dirs

Adds a parent directory "github-runner/" to all of the systemd lifecycle
directories StateDirectory=, RuntimeDirectory= and LogDirectory=.

Doing this has two motivations:

1. Something like this would required if we want to support multiple
   runners configurations. Please note that this is already possible
   using NixOS containers.
2. Having an additional parent directory makes it easier to remap
   any of the directories. Without a parent, systemd is going to
   complain if, for example, the given StateDirectory= is a symlink.

* nixos/github-runner: use specifier to get abs runtime path

* nixos/github-runner: use hostname as default for option `name`

Until now, the runner registration did not set the `--name` argument if
the configuration option was `null`, the default for the option.
According to GitHub's documentation, this instructs the registration
script to use the machine's hostname.

This commit causes the registration to always pass the `--name` argument
to the runner configuration script. The option now defaults to
`networking.hostName` which should be always set on NixOS.

This change becomes necessary as the systemd service name includes the
name of the runner since fcfa809 and, hence, expects it to be set. Thus,
an unset `name` option leads to an error.

* nixos/github-runner: use types.str for `name` option

Forcing a `name` option to comply with a pattern which could also be
used as a hostname is probably not required by GitHub.

* nixos/github-runner: pass dir paths explicitly for ExecStartPre=

* nixos/github-runner: update variable and script naming

* nixos/github-runner: let systemd choose the user/group

User and group naming restrictions are a complex topic [1] that I don't
even want to touch. Let systemd figure out the username and group and
reference it in our scripts through the USER environment variable.

[1] https://systemd.io/USER_NAMES/

* Revert "nixos/github-runner: use types.str for `name` option"

The escaping applied to the subdirectory paths given to StateDirectory=,
RuntimeDirectory= and LogsDirectory= apparently doesn't use the same
strategy that is used to escape unit names (cf. systemd-escape(1)). This
makes it unreasonably hard to construct reliable paths which work for
StateDirectory=/RuntimeDirectory=/LogsDirectory= and ExecStartPre=.

Against this background, I decided to (re-)apply restrictions to the
name a user might give for the GitHub runner. The pattern for
`networking.hostName` seems like a reasonable choice, also as its value
is the default if the `name` option isn't set.

This reverts commit 193ac67ba337990c22126da24a775c497dbc7e7d.

* nixos/github-runner: use types.path for `tokenFile` option

* nixos/github-runner: escape options used as shell arguments

* nixos/github-runner: wait for network-online.target

* github-runner: ignore additional online tests
2021-04-10 10:17:10 +00:00
Michael Weiss
227efbd318
chromium: Fix the build (libva redefinition)
The recent libva 2.11.0 update (780fa55) broke the chromium and
ungoogled-chromium builds. Fix #118931.
2021-04-10 12:06:42 +02:00
Martin Weinelt
cd6cc34d41 python3Packages.python-smarttub: 0.0.21 -> 0.0.23 2021-04-10 12:04:21 +02:00
R. RyanTM
7c4663c64a gitleaks: 7.3.0 -> 7.4.0 2021-04-10 10:03:23 +00:00
Martin Weinelt
977132fe59 python3Packages.devolo-home-control-api: 0.17.1 -> 0.17.3 2021-04-10 12:02:00 +02:00
Martin Weinelt
8cbaf51809
Merge pull request #118943 from mweinelt/home-assistant
home-assistant: 2021.4.1 -> 2021.4.2
2021-04-10 11:58:58 +02:00
R. RyanTM
4ff6c83f2d gdu: 4.9.1 -> 4.10.0 2021-04-10 09:46:02 +00:00
R. RyanTM
eb195be9d5 frangipanni: 0.4.0 -> 0.4.2 2021-04-10 09:24:35 +00:00
R. RyanTM
4a895869d1 dnsx: 1.0.1 -> 1.0.2 2021-04-10 08:08:59 +00:00
Kevin Rauscher
92f5917c43
metals: 0.10.0 -> 0.10.1 2021-04-10 10:07:11 +02:00
R. RyanTM
715186f4cd dnsproxy: 0.36.0 -> 0.37.0 2021-04-10 08:05:15 +00:00
R. RyanTM
775cb72c89 disfetch: 1.21 -> 1.22 2021-04-10 08:01:28 +00:00
R. RyanTM
3d3bad9ff3 dbmate: 1.11.0 -> 1.12.0 2021-04-10 07:49:58 +00:00
Doron Behar
ecd2d63dfd
Merge pull request #118975 from r-ryantm/auto-update/cpp-utilities
cpp-utilities: 5.10.1 -> 5.10.2
2021-04-10 07:47:41 +00:00
Thomas Gerbet
571c050fc3 mediawiki: 1.35.1 -> 1.35.2
Fixes CVE-2021-30152, CVE-2021-30159, CVE-2021-30155 and CVE-2021-30458.

Release notes: https://www.mediawiki.org/wiki/Release_notes/1.35#Changes_since_MediaWiki_1.35.1
2021-04-10 09:43:53 +02:00
Thomas Gerbet
cadcf608b5 jasper: 2.0.26 -> 2.0.28
Fixes CVE-2021-3443.

Release notes:
https://github.com/jasper-software/jasper/releases/tag/version-2.0.27
https://github.com/jasper-software/jasper/releases/tag/version-2.0.28
2021-04-10 09:32:11 +02:00
R. RyanTM
ddccf4272c cpp-utilities: 5.10.1 -> 5.10.2 2021-04-10 07:27:35 +00:00
R. RyanTM
e8a7bf4e2d cloud-nuke: 0.1.27 -> 0.1.28 2021-04-10 07:03:23 +00:00
R. RyanTM
eb4b25b29b clash: 1.4.2 -> 1.5.0 2021-04-10 06:53:52 +00:00
R. RyanTM
f549f4c86d ciao: 1.19.0 -> 1.20.0 2021-04-10 06:44:18 +00:00
Dmitry Kalinkin
5bb883a1c0
rivet: 3.1.3 -> 3.1.4 2021-04-10 02:34:23 -04:00
Daniël de Kok
0603c25738 python3Packages.pytorch: remove unused USE_MKL variable
PyTorch will always try to find MKL, USE_MKL does not do anything
anymore. So, we have to rely on MKL not being in the build
environment.
2021-04-10 08:10:28 +02:00
Daniël de Kok
209f4678f2 python3Packages.pytorch: disable building of tests
- We do not run them.
- The test binaries are installed into site-packages by default.
2021-04-10 08:09:38 +02:00
Daniël de Kok
4f876309fe python3Packages.pytorch: convert boolean environment variables
We relied on the stdenv serialization for booleans. However, the
PyTorch configure script expects 0/1. So convert the options to 0/1
values.
2021-04-10 08:08:08 +02:00
R. RyanTM
b20d30e606 cargo-deny: 0.9.0 -> 0.9.1 2021-04-10 06:07:26 +00:00
R. RyanTM
85e62de17b
bazel-kazel: 0.2.1 -> 0.2.2 (#118959) 2021-04-09 22:52:24 -07:00
Wael M. Nasreddine
f3eddda1fb
python3Packages.west: 0.8.0 -> 0.10.1 2021-04-09 22:34:07 -07:00
Bernardo Meurer
debd8ed78f
python3Packages.pynvim: 0.4.2 -> 0.4.3 2021-04-09 22:08:38 -07:00
Jörg Thalheim
f7e08360b0
Merge pull request #117456 from Izorkin/update-redis-options
nixos/redis: add option and change access to directories
2021-04-10 06:06:19 +01:00
Mario Rodas
e7bba4ff57 shadowsocks-rust: 1.10.3 -> 1.10.5 2021-04-10 04:20:00 +00:00
Mario Rodas
a1260ad61b watchexec: 1.14.1 -> 1.15.0
https://github.com/watchexec/watchexec/releases/tag/1.15.0
2021-04-10 04:20:00 +00:00
R. RyanTM
43a54d59a1 amber: 0.5.8 -> 0.5.9 2021-04-10 04:16:27 +00:00
Ryan Mulligan
7c6aa8400b
Merge pull request #118842 from superherointj/package-linode-cli-5.0.1
linode-cli: 2.15.0 -> 5.0.1
2021-04-09 21:06:53 -07:00
Ryan Mulligan
fe48fb9eb0
Merge pull request #116394 from r-ryantm/auto-update/bschaffl
bschaffl: 1.4.4 -> 1.4.6
2021-04-09 20:58:41 -07:00
Ryan Mulligan
9d42670134
Merge pull request #117700 from r-ryantm/auto-update/python3.8-manhole
python38Packages.manhole: 1.6.0 -> 1.7.0
2021-04-09 20:53:02 -07:00
Ryan Mulligan
2930fdf6c2
Merge pull request #118526 from r-ryantm/auto-update/oapi-codegen
oapi-codegen: 1.5.6 -> 1.6.0
2021-04-09 20:51:02 -07:00
Ryan Mulligan
c3df7b27bb
Merge pull request #118528 from r-ryantm/auto-update/osu-lazer
osu-lazer: 2021.323.0 -> 2021.331.0
2021-04-09 20:50:37 -07:00
Ryan Mulligan
dd7dc1b724
Merge pull request #118473 from r-ryantm/auto-update/async-profiler
async-profiler: 1.8.4 -> 1.8.5
2021-04-09 20:50:02 -07:00
Ryan Mulligan
722fe010f5
Merge pull request #118193 from r-ryantm/auto-update/argo
argo: 2.12.10 -> 3.0.0
2021-04-09 20:48:42 -07:00
Ryan Mulligan
82dc205de6
Merge pull request #118511 from r-ryantm/auto-update/librealsense
librealsense: 2.42.0 -> 2.43.0
2021-04-09 20:47:58 -07:00
Joe Hermaszewski
580d88efa0
services.postgresql: Improve example clarity
Although the quotes here aren't necessary, they may be if a user cargo-cults this example with a database name with hyphens (or other "unusual" characters).
2021-04-10 11:12:36 +08:00
Anderson Torres
6d5dc3f0e4
Merge pull request #118947 from AndersonTorres/updates
udiskie: 2.3.2 -> 2.3.3
2021-04-09 21:37:08 -03:00
Martin Weinelt
8735fd1e95
Merge pull request #118944 from fabaff/homematicip
python3Packages.homematicip: init at 1.0.0
2021-04-10 02:19:55 +02:00
AndersonTorres
bd9c23dcb3 udiskie: 2.3.2 -> 2.3.3 2021-04-09 21:05:52 -03:00
Luis Hebendanz
94d7d46e20 firefox/wrapper.nix: Fixed firefox is always 'managed by your organization' 2021-04-10 01:46:18 +02:00