Commit Graph

15706 Commits

Author SHA1 Message Date
Sandro
3272d2f6df
Merge pull request #118833 from oxalica/rust-analyzer 2021-04-12 00:59:38 +02:00
Sandro
9a6063d568
Merge pull request #118924 from jojosch/protoc-gen-twirp-7.2.0
protoc-gen-twirp: 7.1.1 -> 7.2.0
2021-04-12 00:51:56 +02:00
Sandro
e49de5e298
Merge pull request #118878 from Emantor/bump/usbsdmux
usbsdmux: 0.1.8 -> 0.2.0
2021-04-12 00:47:13 +02:00
Sandro
7ca02e648f
Merge pull request #119180 from marsam/update-buildtools
bazel-buildtools: 3.5.0 -> 4.0.1
2021-04-11 22:58:15 +02:00
Kira Bruneau
dbeee74085 ccache: enable test.modules on Darwin
test.modules now passes on Darwin
2021-04-11 14:33:16 -04:00
Kira Bruneau
26f66129f8 ccache: 4.2 -> 4.2.1 2021-04-11 14:05:14 -04:00
oxalica
501284ea42
rust-analyzer: rename nix file 2021-04-12 01:49:58 +08:00
oxalica
6efb930e18
rust-analyzer: merge version specific fields into generic derivation 2021-04-12 01:49:58 +08:00
oxalica
d4e758c5ac
rust-analyzer: 2021-03-22 -> 2021-04-05 2021-04-12 01:04:33 +08:00
Sandro
ee9dbcb115
Merge pull request #119124 from Mic92/cutter 2021-04-11 16:47:24 +02:00
Sandro
07102206f1
Merge pull request #119116 from r-ryantm/auto-update/github-commenter
github-commenter: 0.8.0 -> 0.9.0
2021-04-11 16:39:17 +02:00
Sandro
fbecd7794b
Merge pull request #119103 from storvik/fix-clpm
clpm: build with sbcl 2.0.9
2021-04-11 16:30:02 +02:00
Sandro
2110db99aa
Merge pull request #119099 from r-ryantm/auto-update/air
air: 1.15.1 -> 1.25
2021-04-11 16:27:03 +02:00
Vincent Laporte
b729d4080a
ocamlPackages.ocp-indent: use Dune 2 2021-04-11 14:32:14 +02:00
Jörg Thalheim
f381fecfd5
cutter: 2.0.0 -> 2.0.1 2021-04-11 13:06:11 +02:00
Jörg Thalheim
7dbe49ed1a
rizin: 0.1.2 -> 0.2.0 2021-04-11 13:06:09 +02:00
R. RyanTM
9430cc2da0 github-commenter: 0.8.0 -> 0.9.0 2021-04-11 09:08:43 +00:00
storvik
cf25944d02 clpm: use sbcl 2.0.9 when building
Use SBCL < 2.1.0 when building as SB-VM::MAKE-EA was removed.
2021-04-11 09:21:35 +02:00
R. RyanTM
6b4de5afec air: 1.15.1 -> 1.25 2021-04-11 05:07:18 +00:00
Ryan Mulligan
04dd46c650
Merge pull request #119065 from r-ryantm/auto-update/openfpgaloader
openfpgaloader: 0.2.5 -> 0.2.6
2021-04-10 21:42:52 -07:00
Mario Rodas
ec2e4b2d74 bazel-buildtools: 3.5.0 -> 4.0.1 2021-04-11 04:20:00 +00:00
Ryan Mulligan
afca74b711
Merge pull request #119027 from r-ryantm/auto-update/jbang
jbang: 0.69.2 -> 0.70.0
2021-04-10 17:30:19 -07:00
Ryan Mulligan
2c8e88dabe
Merge pull request #118962 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.9.0 -> 0.9.1
2021-04-10 16:01:53 -07:00
Fabian Affolter
089908b9db
Merge pull request #119033 from r-ryantm/auto-update/lazygit
lazygit: 0.26.1 -> 0.27.3
2021-04-11 00:35:19 +02:00
Mario Rodas
27d7c671af
Merge pull request #118972 from r-ryantm/auto-update/cloud-nuke
cloud-nuke: 0.1.27 -> 0.1.28
2021-04-10 12:31:55 -05:00
R. RyanTM
822c94a557 openfpgaloader: 0.2.5 -> 0.2.6 2021-04-10 17:24:56 +00:00
Mario Rodas
763b66fef5
Merge pull request #119013 from r-ryantm/auto-update/go-toml
go-toml: 1.8.1 -> 1.9.0
2021-04-10 10:03:14 -05:00
Sandro
937e6da44e
Merge pull request #118984 from Tomahna/metals
metals: 0.10.0 -> 0.10.1
2021-04-10 16:32:15 +02:00
Sandro
15435a234c
Merge pull request #118980 from r-ryantm/auto-update/dbmate
dbmate: 1.11.0 -> 1.12.0
2021-04-10 16:31:28 +02:00
R. RyanTM
6ed757b460 lazygit: 0.26.1 -> 0.27.3 2021-04-10 13:15:23 +00:00
R. RyanTM
eff2b5d29f jbang: 0.69.2 -> 0.70.0 2021-04-10 12:26:23 +00: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
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
Kevin Rauscher
92f5917c43
metals: 0.10.0 -> 0.10.1 2021-04-10 10:07:11 +02:00
R. RyanTM
3d3bad9ff3 dbmate: 1.11.0 -> 1.12.0 2021-04-10 07:49:58 +00:00
R. RyanTM
e8a7bf4e2d cloud-nuke: 0.1.27 -> 0.1.28 2021-04-10 07:03:23 +00: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
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
Johannes Schleifenbaum
3b46cdcc61
protoc-gen-twirp: 7.1.1 -> 7.2.0 2021-04-09 21:35:39 +02:00
Peter Simons
cb29de02c4
Merge pull request #118350 from NixOS/haskell-updates
Update Haskell package set to Stackage Nightly 2021-04-02 (plus other fixes)
2021-04-09 20:50:19 +02:00
Frederik Rietdijk
0656d546fb
Merge pull request #118312 from NixOS/staging-next
Staging next
2021-04-09 18:29:47 +02:00
Maximilian Bosch
0b938eae3b
Merge pull request #117005 from tomberek/go-yq/test
yq-go: add simple test
2021-04-09 18:01:49 +02:00
Maximilian Bosch
45f94b613a
Merge pull request #117510 from r-ryantm/auto-update/py-spy
py-spy: 0.3.4 -> 0.3.5
2021-04-09 17:57:45 +02:00
Rouven Czerwinski
56fc7c44db usbsdmux: 0.1.8 -> 0.2.0 2021-04-09 17:42:28 +02:00
(cdep)illabout
84902fa84a
spago: 0.19.0 -> 0.20.0 2021-04-09 23:47:09 +09:00
github-actions[bot]
c99b6f5343
Merge master into staging-next 2021-04-09 00:16:01 +00:00
Sandro
a5f6343808
Merge pull request #118702 from aanderse/conan
conan: 1.27.0 -> 1.35.0
2021-04-08 22:43:24 +02:00
github-actions[bot]
85b57e4446
Merge master into staging-next 2021-04-08 18:14:17 +00:00