Commit Graph

213397 Commits

Author SHA1 Message Date
Danylo Hlynskyi
5443eee47c
nixos/postgresql: support 0750 for data directory (#65245)
* nixos/postgresql: support 0750 for data directory

This is rework of part of https://github.com/NixOS/nixpkgs/pull/46670.
My usecase was to be able to inspect PG datadir as wheel user.

PG11 now allows starting server with 0750 mask for data dir.
`groupAccess = true` now does this automatically. The only thing you have to do
is to set group ownership.

For PG10 and below, I've described a hack how this can be done. Before this PR
hack was impossible. The hack isn't ideal, because there is short
period of time when dir mode is 0700, so I didn't want to make it official.

Test/example is present too.

* postgresql: allow changing initidb arguments via module system

Closes https://github.com/NixOS/nixpkgs/issues/18829

+ some cleanups

* addressed review comments and some fixes

* whoops

* change groupAccess to tristate, to not force `chmod` on dataDir.

Making mask either 0700 or 0750 is too restrictive..

* WIP

* let's not support group mode for versions pre-11.

The only fix is to change mode to 0700 before start, because otherwise postgresql
doesn't start, and error is non-obvious.
2020-02-14 20:51:20 +02:00
Michele Guerini Rocco
c8d53312a5
Merge pull request #79756 from rnhmjoj/profont
profont: install otb variant
2020-02-14 19:49:31 +01:00
Matthew Bauer
95f735008a
Merge pull request #80107 from phryneas/fix-build-tools
androidenv build-tools: fix old versions under linux
2020-02-14 13:35:04 -05:00
Bjørn Forsman
d394c82cde
build-fhs-userenv: runCommand -> runCommandLocal (#77253)
It's a trivial derivation, no need to build remotely (it's slower that
way).
2020-02-14 20:16:49 +02:00
R. RyanTM
d54a58a2cd verilator: 4.026 -> 4.028 2020-02-14 12:13:04 -06:00
rnhmjoj
6979f761a5
profont: install otb variant 2020-02-14 19:06:50 +01:00
worldofpeace
62a7f80d50
Merge pull request #80129 from disassembler/openapi-spec-validator
python3Packages.openapi-spec-validator: add setuptools
2020-02-14 12:55:20 -05:00
Samuel Leathers
a721edfabb
python3Packages.openapi-spec-validator: add setuptools 2020-02-14 12:48:20 -05:00
worldofpeace
95e41ecd8f
Merge pull request #79659 from worldofpeace/cleanup-python-test-lib
testing: fix runInMachineWithX/runInMachine
2020-02-14 12:38:57 -05:00
Vladimír Čunát
b229e9fdfd
libclc: enableParallelBuilding = true
Otherwise it takes quite some time.  Tested on a 32-threaded machine,
so there probably aren't common high-parallelism bugs.
2020-02-14 18:33:27 +01:00
danbst
84535e0a47 let's not support group mode for versions pre-11.
The only fix is to change mode to 0700 before start, because otherwise postgresql
doesn't start, and error is non-obvious.
2020-02-14 19:16:34 +02:00
Jonathan Ringer
e24c04f278 python3Packages.fastparquet: 0.3.2 -> 0.3.3 2020-02-14 09:12:36 -08:00
Jonathan Ringer
af1eb21dbf python3Packages.csvs-to-sqlite: remove pandas version constraint 2020-02-14 09:10:57 -08:00
danbst
2c77c53487 Merge branch 'master' into postgresql_group 2020-02-14 19:00:52 +02:00
Vladimír Čunát
ed77cf1c56
Merge #62890: libclc: 2017-11-29 -> 2019-06-09 (unbreak) 2020-02-14 17:59:00 +01:00
snicket2100
50a597cd7a
installation-cd-graphical-base.nix: adding git (#79098) 2020-02-14 18:52:18 +02:00
Ivan Kozik
0be376a8e2
postgresqlPackages.periods: init at 1.1 (#79255) 2020-02-14 18:43:31 +02:00
Ryan Mulligan
ab69c9f7e8
Merge pull request #80116 from r-ryantm/auto-update/chezmoi
chezmoi: 1.7.12 -> 1.7.13
2020-02-14 08:39:58 -08:00
Arnold Farkas
7c92d539c1
pythonPackages.zstandard: init at 0.13.0 (#79215) 2020-02-14 18:35:36 +02:00
Maximilian Bosch
7666bf47c7
linuxPackages.wireguard: 0.0.20200205 -> 0.0.20200214
https://lists.zx2c4.com/pipermail/wireguard/2020-February/005013.html
2020-02-14 17:16:10 +01:00
Danylo Hlynskyi
854638ea29
zoom-us: fix launch (#80005)
zoom-us: fix launch

Probably due to glibc update, ZoomLauncher became broken when v4l is present in
LD_PRELOAD path. It can be fixed by a) removing ZoomLauncher from startup chain,
so `zoom` is started directly or b) removing v4l from LD_PRELOAD.

The reason v4l was added before was because my video was rotated upside down without it.
Seem like nowadays this is fixed by Zoom itself, so I'm removing it.

Fixes https://github.com/NixOS/nixpkgs/issues/79954

Co-authored-by: @mmlb
2020-02-14 16:16:02 +02:00
Tim Steinbach
8c7f9beef4
Merge pull request #79973 from asbachb/update-openjdk
openjdk8: 8u222 -> 8u242
2020-02-14 08:53:09 -05:00
Mario Rodas
b14afe1ec3
Merge pull request #79897 from r-ryantm/auto-update/byobu
byobu: 5.130 -> 5.131
2020-02-14 08:36:54 -05:00
Mario Rodas
6f57eac82c
Merge pull request #79902 from r-ryantm/auto-update/btrbk
btrbk: 0.29.0 -> 0.29.1
2020-02-14 08:31:31 -05:00
R. RyanTM
193eeab4bc chezmoi: 1.7.12 -> 1.7.13 2020-02-14 13:30:57 +00:00
Mario Rodas
7644fabb1e
Merge pull request #79904 from r-ryantm/auto-update/fasm
fasm: 1.73.21 -> 1.73.22
2020-02-14 08:29:53 -05:00
Mario Rodas
dafde55bf4
Merge pull request #80094 from r-ryantm/auto-update/svn-all-fast-export
gitAndTools.svn-all-fast-export: 1.0.16 -> 1.0.17
2020-02-14 08:28:52 -05:00
Mario Rodas
20bc3aa323
Merge pull request #78573 from Moredread/lzbench
lzbench: 20170208 -> 1.8
2020-02-14 06:22:54 -05:00
Léo Gaspard
da4d9241fc
Merge pull request #79971 from r-ryantm/auto-update/opensmtpd
opensmtpd: 6.6.2p1 -> 6.6.3p1
2020-02-14 12:08:05 +01:00
Lenz Weber
5ef31532b1 androidenv build-tools: fix old versions under linux 2020-02-14 11:41:57 +01:00
Vladyslav M
2cf6a26619
Merge pull request #80100 from lilyball/tokei
tokei: 10.1.1 -> 10.1.2
2020-02-14 12:11:51 +02:00
Mario Rodas
e15600ebf2
Merge pull request #80092 from r-ryantm/auto-update/stress-ng
stress-ng: 0.10.16 -> 0.10.19
2020-02-14 05:05:21 -05:00
Michele Guerini Rocco
3d3392a492
Merge pull request #80090 from crabtw/master
nixos/pppd: fix build error
2020-02-14 10:50:47 +01:00
Michele Guerini Rocco
30bc29280a
Merge pull request #80089 from ivanbrennan/urxvt-perls-update
rxvt-unicode-plugins.perls: 2.2 -> 2.3
2020-02-14 10:29:39 +01:00
Vincent Laporte
c589de98e2 ocamlPackages.resource-pooling: 0.6 → 1.1
ocamlPackages.ocsigen-start: 1.8.0 → 2.7.0
2020-02-14 10:09:41 +01:00
Marek Mahut
a1d8399ff1
Merge pull request #79995 from mmahut/grisbi
grisbi: 1.2.1 -> 1.2.2
2020-02-14 09:55:06 +01:00
Marek Mahut
f9388a7634
Merge pull request #79937 from mmahut/eggdrop
eggdrop: 1.6.21-nix1 -> 1.8.4
2020-02-14 09:49:06 +01:00
lewo
d49804cf45
Merge pull request #80102 from nlewo/fix-78744
dockerTools.buildLayeredImage: store all paths passed in final layer (fix 78744)
2020-02-14 09:48:52 +01:00
Marek Mahut
d7b8edf723
Merge pull request #79940 from mmahut/glide
glide: 0.12.3 -> 0.13.3
2020-02-14 09:48:38 +01:00
Marek Mahut
5885e01f08
Merge pull request #79935 from mmahut/ezquake
ezquake: 3.0.1 -> 3.1
2020-02-14 09:47:48 +01:00
Mario Rodas
7696369bec
docker-slim: move expression to outside of build-support (#80078) 2020-02-14 09:42:18 +01:00
Michele Guerini Rocco
66b5b29977
Merge pull request #80076 from rnhmjoj/alsa
nixos/alsa: replace list by attrset in environment.etc
2020-02-14 09:40:41 +01:00
Michele Guerini Rocco
ae55174fa9
Merge pull request #80077 from rnhmjoj/unclutter
nixos/unclutter: fix remaining typo
2020-02-14 09:38:45 +01:00
Lily Ballard
6c4228f7d1 tokei: 10.1.1 -> 10.1.2 2020-02-14 00:34:11 -08:00
Antoine Eiche
baa78de594 nixosTests.docker-tools: add bulk-layer test
A regression test for https://github.com/NixOS/nixpkgs/issues/78744.
2020-02-14 09:26:26 +01:00
Richard Wallace
3b65b3f6d6 dockerTools.buildLayeredImage: store all paths passed in final layer
Fixes #78744

My previous change broke when there are more packages than the maximum
number of layers. I had assumed that the `store-path-to-layer.sh` was
only ever passed a single store path, but that is not the case if
there are multiple packages going into the final layer. To fix this, we
loop through the paths going into the final layer, appending them to the
tar file and making sure they end up at the right path.
2020-02-14 09:26:26 +01:00
Dmitry Kalinkin
8979d2dde5
Merge pull request #80052 from mmilata/hunspell-dict-cs
hunspellDicts: add Czech and Slovak dictionary
2020-02-14 02:51:35 -05:00
R. RyanTM
334e013a0a gitAndTools.svn-all-fast-export: 1.0.16 -> 1.0.17 2020-02-14 07:09:30 +00:00
R. RyanTM
c5b6c6958f python27Packages.Wand: 0.5.8 -> 0.5.9 2020-02-13 22:51:53 -08:00
R. RyanTM
893f7e8f43 python27Packages.Rtree: 0.9.3 -> 0.9.4 2020-02-13 22:51:19 -08:00