From e69ba1da47292ed38ebf2183b9f1b1511f259d2d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 23 Aug 2021 14:08:41 +0200 Subject: [PATCH] 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. --- pkgs/tools/networking/ofono/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/networking/ofono/default.nix b/pkgs/tools/networking/ofono/default.nix index c1d6b7615471..647cfd4a44ff 100644 --- a/pkgs/tools/networking/ofono/default.nix +++ b/pkgs/tools/networking/ofono/default.nix @@ -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;