dovecout: fix systemd unit dir
the configure flag we were using was dropped in
a42bb363b4
(cherry picked from commit 5fa6e9c403940c7c641356daf9c7ac05e464f58f)
This commit is contained in:
parent
1f762dbf63
commit
c466620ad2
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure = ''
|
||||
patchShebangs src/config/settings-get.pl
|
||||
'';
|
||||
'' + lib.optionalString (stdenv.isLinux) "export systemdsystemunitdir=$out/etc/systemd/system";
|
||||
|
||||
# We need this for sysconfdir, see remark below.
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
@ -75,8 +75,8 @@ stdenv.mkDerivation rec {
|
|||
"lib_cv_va_copy=yes"
|
||||
"lib_cv___va_copy=yes"
|
||||
"lib_cv_va_val_copy=yes"
|
||||
] ++ lib.optional (stdenv.isLinux) "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
++ lib.optional (stdenv.isDarwin) "--enable-static"
|
||||
] ++ lib.optional stdenv.isLinux "--with-systemd"
|
||||
++ lib.optional stdenv.isDarwin "--enable-static"
|
||||
++ lib.optional withMySQL "--with-mysql"
|
||||
++ lib.optional withPgSQL "--with-pgsql"
|
||||
++ lib.optional withSQLite "--with-sqlite";
|
||||
|
|
Loading…
Reference in New Issue