Commit graph

181338 commits

Author SHA1 Message Date
Florian Klink 5ea7a3eb21 nixos/mysql: drop services.mysql.pidDir
mysql already has its socket path hardcoded to to
/run/mysqld/mysqld.sock.
There's not much value in making the pidDir configurable, which also
points to /run/mysqld by default.

We only seem to use `services.mysql.pidDir` in the wordpress startup
script, to wait for mysql to boot up, but we can also simply wait on the
(hardcoded) socket location too.

A much nicer way to accomplish that would be to properly describe a
dependency on mysqld.service. This however is not easily doable, due to
how the apache-httpd module was designed.
2019-05-31 22:27:55 +02:00
Florian Klink edd10c12f7 nixos/mysql: run as mysql user and group
As we don't need to setup data directories from ExecStartPre= scripts
anymore, which required root, but use systemd.tmpfiles.rules instead,
everything can be run as just the mysql user.
2019-05-31 22:27:55 +02:00
Florian Klink 25494cc193 nixos/mysql: reformat, move logical steps into variables
define commands like "waiting for the mysql socket to appear" or "setup
initial databases" in a let expression, so the main control flow becomes
more readable.
2019-05-31 22:27:48 +02:00
Florian Klink 50dda813e2 nixos/mysql: use systemd.tmpfiles to setup dataDir and pidDir
We need to keep using `RuntimeDirectory=mysqld`, which translates to
`/run/mysqld`, as this is used for the location of the file socket, that
could differ with what is configured via `cfg.pidDir`.
2019-05-31 22:20:42 +02:00
Michael Weiss 6c7586228c
androidStudioPackages.{dev,canary}: 3.6.0.1 -> 3.6.0.2 2019-05-31 21:45:55 +02:00
Andreas Rammhold d9238d723b
Merge pull request #62136 from flokli/tmux-tmpdir
tmux module: Fix escaping in TMUX_TMPDIR
2019-05-31 21:42:47 +02:00
Jan Tojnar d20bfc72cb
vokoscreen: 2.5.0 -> 2.5.8-beta (#62144)
vokoscreen: 2.5.0 -> 2.5.8-beta
2019-05-31 21:36:08 +02:00
Michael Weiss 37d232fb5f
signal-desktop: 1.24.1 -> 1.25.0 2019-05-31 21:20:38 +02:00
Florian Klink 3758b39122
Merge pull request #62322 from WilliButz/fix-fritzbox-exporter-service
nixos/prometheus-fritzbox-exporter: update binary name
2019-05-31 21:17:46 +02:00
Mario Rodas 6e86ed9062 gitAndTools.lab: 0.15.3 -> 0.16.0 (#62301) 2019-05-31 10:57:17 -07:00
Maximilian Bosch fffaaaef7c
Merge pull request #62295 from adisbladis/gparted-1_0_0
gparted: 0.33.0 -> 1.0.0
2019-05-31 19:08:59 +02:00
Maximilian Bosch 27e85bbb6d
Merge pull request #62226 from lukebfox/colorls
colorls: init at 1.2.0
2019-05-31 18:59:33 +02:00
WilliButz ba17b32b43
nixos/prometheus-fritzbox-exporter: update binary name 2019-05-31 18:50:27 +02:00
Tim Steinbach 92c881b6db
linux: 5.1.5 -> 5.1.6 2019-05-31 11:00:28 -04:00
Tim Steinbach fdaf788161
linux: 5.0.19 -> 5.0.20 2019-05-31 11:00:28 -04:00
Tim Steinbach 364a35ed64
linux: 4.9.179 -> 4.9.180 2019-05-31 11:00:28 -04:00
Tim Steinbach 4faf5552a9
linux: 4.19.46 -> 4.19.47 2019-05-31 11:00:27 -04:00
Tim Steinbach 5283c52f6d
linux: 4.14.122 -> 4.14.123 2019-05-31 11:00:24 -04:00
Samuel Dionne-Riel 68e67cd46e
Merge pull request #62281 from dtzWill/update/dbeaver-6.0.5
dbeaver: 6.0.4 -> 6.0.5
2019-05-31 10:52:17 -04:00
Matthew Bauer 8972f674ee
Merge pull request #62272 from matthewbauer/strip-emacsqlite
emacsqlite: strip binary
2019-05-31 10:31:16 -04:00
Matthew Bauer f21b4270a1
Merge pull request #62273 from matthewbauer/bad-platforms-add
Add treewide bad platforms
2019-05-31 10:30:42 -04:00
Peter Simons 64a8e60df9 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.14.3-6-g315012a from Hackage revision
5a3c3ef601.
2019-05-31 16:09:31 +02:00
Peter Simons f51c95d788 LTS Haskell 13.23 2019-05-31 16:09:31 +02:00
Franz Pletz f86871ad37
Merge pull request #62293 from etu/gitea-upgrade
gitea: 1.8.1 -> 1.8.2
2019-05-31 13:19:38 +00:00
Klemens Nanni 7f104aa6e2 tmux module: Fix escaping in TMUX_TMPDIR
5404595b55 relocated code but kept
one backslah too many, leading to

	$ tmux
	error creating /run/user/$(id -u)/tmux-1000 (No such file or directory)

/run/user/$UID/ is created by pam_systemd(3) which also populates
XD_RUNTIME_DIR with that value.

Alternatively, TMUX_TMPDIR might simply default to XDG_RUNTIME_DIR
without providing the same directory yet again as default string in
parameter substitution, however such behaviour change is subject to
another patch.

In fact, with `security.polkit.enable = false` systemd_logind(8) fails
to start and /run/user/$UID/ is never created for unprivileged users
in proper login sessions;  XDG_RUNTIME_DIR would consequently not be
set either.

Removing the fallback to /run/user/$UID/ would have caused TMUX_TMPDIR
to be empty, which in turn would lead tmux(1) to use /tmp/.  This
effectively breaks the idea of isolated sockets entirely while hiding
errors from the user.
2019-05-31 15:09:59 +02:00
adisbladis 776922ce40
Merge pull request #62287 from vdemeester/update-skopeo
skopeo: 0.1.35 -> 0.1.36
2019-05-31 14:09:27 +01:00
Mario Rodas 5dfbc73c3b
Merge pull request #62006 from marsam/init-postgresql-pg_auto_failover
postgresqlPackages.pg_auto_failover: init at 1.0.2
2019-05-31 06:56:08 -05:00
Jan Tojnar 2c347116b5
Merge pull request #62237 from jtojnar/openimageio2
openimageio2: init at 2.0.8
2019-05-31 13:53:05 +02:00
Timo Kaufmann 32ba4cf057
vimPlugins: update (#62299) 2019-05-31 13:49:51 +02:00
GRBurst 8e0b32ecd6 vokoscreen: 2.5.0 -> 2.5.8-beta 2019-05-31 11:27:42 +02:00
markuskowa 40cc9cfdb6
Merge pull request #62154 from markuskowa/fix-halide
halide: fix to llvm6
2019-05-31 11:06:14 +02:00
adisbladis 0ec0179943
gparted: 0.33.0 -> 1.0.0 2019-05-31 09:52:17 +01:00
Jörg Thalheim 0c6fb79dd7
Merge pull request #62261 from bricewge/ykman-gui-otp
yubikey-manager-gui: revert part of 2e359d9
2019-05-31 09:48:06 +01:00
Elis Hirwing aa1ca7b972
gitea: 1.8.1 -> 1.8.2
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.8.2
2019-05-31 10:46:48 +02:00
Brice Waegeneire 5aa33504da yubikey-manager-gui: revert part of 2e359d9
Fixes #62210
2019-05-31 10:39:35 +02:00
lewo f3eaa070aa
Merge pull request #62285 from vdemeester/update-skaffold
skaffold: 0.29.0 -> 0.30.0
2019-05-31 10:13:04 +02:00
Matthieu Coudron 66a1e97719 neovim-unwrapped: don't fix cmake
Pollutes git status
2019-05-31 17:07:09 +09:00
Vincent Demeester d0207fde49
skopeo: 0.1.35 -> 0.1.36
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-05-31 09:58:12 +02:00
Vincent Demeester d03430dde6
skaffold: 0.29.0 -> 0.30.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-05-31 09:34:10 +02:00
John Wiegley f244c4fe5e
Revert "rustfmt: mark as broken on darwin"
This reverts commit c4bc3e1fe2, because it
is working well on my macOS 10.13 system.
2019-05-30 23:30:10 -07:00
Mario Rodas 1ec32bda1a
Merge pull request #62234 from hyphon81/add/pysptk-add
pythonPackages.pysptk: init at 0.1.16
2019-05-31 01:02:37 -05:00
hyphon81 ec157e21b1
pythonPackages.pysptk: init at 0.1.17 2019-05-31 00:39:23 -05:00
Mario Rodas 25f7291302
Merge pull request #62249 from jluttine/salmon-mail-3.1.1
pythonPackages.salmon-mail: 3.1.0 -> 3.1.1
2019-05-31 00:14:51 -05:00
Mario Rodas c701c7198f
Merge pull request #61753 from costrouc/python-accupy-init
pythonPackages.accupy: init at 0.1.4
2019-05-31 00:03:26 -05:00
Will Dietz a72d6f9349
Merge pull request #60954 from dtzWill/fix/network-online-actually-online-with-networkmanager
networkmanager: network-online --wants--> NetworkManager-wait-online
2019-05-30 23:05:57 -05:00
Will Dietz 8bc2cb9892
Merge pull request #62186 from dtzWill/update/firejail-0.9.60
firejail: 0.9.58.2 -> 0.9.60
2019-05-30 22:43:43 -05:00
Will Dietz 9a0cc071d4
Merge pull request #62195 from dtzWill/update/mno-1.0
mno16: init at 1.0
2019-05-30 22:35:34 -05:00
Will Dietz a5d19a22b5
Merge pull request #62197 from dtzWill/update/agave-10
agave: 009 -> v10
2019-05-30 22:34:27 -05:00
Will Dietz 17b973a372
dbeaver: 6.0.4 -> 6.0.5 2019-05-30 22:07:37 -05:00
Matthew Bauer 67abc01e4c crystal_0_26: fix hash
hash has been changed since initial commit:

https://hydra.nixos.org/build/93668775
2019-05-30 22:54:13 -04:00