git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit25acd14ddfde6d0298a579583de40b8d5e80bc3b authorChristian Kampka <kampka@users.noreply.github.com> dateSat 19 Jan 2019, 14:01 (8 years ago) parent2271042
1 file changed+1−1
pkgs/applications/networking/msmtp/default.nix+1−1
pkgs/applications/networking/msmtp/default.nix+1−1
@@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
2828 nativeBuildInputs = [ autoreconfHook pkgconfig ];
2929
3030 configureFlags =
31− stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ];
31+ [ "--sysconfdir=/etc" ] ++ stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ];
3232
3333 postInstall = ''
3434 install -d $out/share/doc/${pname}/scripts