From 25acd14ddfde6d0298a579583de40b8d5e80bc3b Mon Sep 17 00:00:00 2001 From: Christian Kampka <kampka@users.noreply.github.com> Date: Sat, 19 Jan 2019 14:01:21 +0100 Subject: [PATCH] msmtp: Configure sysconfdir to point to /etc The current build lets the SYSCONFDIR of msmtp point to the nix store /nix/.../msmtp-1.81/etc, which is not very useful. This change will allow for system wide configuration to be placed in /etc instead. --- pkgs/applications/networking/msmtp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/msmtp/default.nix b/pkgs/applications/networking/msmtp/default.nix index a9c828a3fb13..34b6116df788 100644 --- a/pkgs/applications/networking/msmtp/default.nix +++ b/pkgs/applications/networking/msmtp/default.nix @@ -28,7 +28,7 @@ in stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook pkgconfig ]; configureFlags = - stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ]; + [ "--sysconfdir=/etc" ] ++ stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ]; postInstall = '' install -d $out/share/doc/${pname}/scripts