ofono: fix config loading directory properly

It should be loaded from /etc but installed to $out/etc so that people can see what they should place to /etc.
This commit is contained in:
Jan Tojnar
2021-08-23 14:08:41 +02:00
parent 4bd32fff77
commit e69ba1da47
+2 -6
View File
@@ -44,17 +44,13 @@ stdenv.mkDerivation rec {
"--with-dbusconfdir=${placeholder "out"}/share"
"--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
"--enable-external-ell"
"--sysconfdir=/etc"
];
installFlags = [
"SYSCONFDIR=${placeholder "out"}/etc"
"sysconfdir=${placeholder "out"}/etc"
];
postInstall = ''
rm -r $out/etc/ofono
ln -s /etc/ofono $out/etc/ofono
'';
enableParallelBuilding = true;
enableParallelChecking = false;