about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Kampka <kampka@users.noreply.github.com>2019-01-19 14:01:21 +0100
committerChristian Kampka <christian@kampka.net>2019-01-20 13:54:20 +0100
commit25acd14ddfde6d0298a579583de40b8d5e80bc3b (patch)
treee8d01d606813479be411f2746fea5cc71c02ffb4
parent227104215dee4d2bb5cb2b3ffd5a6c5179735d81 (diff)
downloadnixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.tar
nixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.tar.gz
nixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.tar.bz2
nixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.tar.lz
nixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.tar.xz
nixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.tar.zst
nixlib-25acd14ddfde6d0298a579583de40b8d5e80bc3b.zip
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.
-rw-r--r--pkgs/applications/networking/msmtp/default.nix2
1 files changed, 1 insertions, 1 deletions
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