mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
openntpd: fix constraints feature on NixOS
The OpenNTPD constraints feature requires a valid chain of SSL certificates, but the default path in openntpd didn't match the one in NixOS. Unfortunately the configured certificate path becomes hardcoded into the binary, so this feature will likely still fail on other distributions/operating systems, unless the path coincides with the NixOS path or the user sets up a symlink.
This commit is contained in:
parent
25c8014a4b
commit
f7616c4f5e
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-privsep-user=${privsepUser}"
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--with-cacert=/etc/ssl/certs/ca-certificates.crt"
|
||||
];
|
||||
|
||||
buildInputs = [ libressl ];
|
||||
|
Loading…
Reference in New Issue
Block a user