File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 88, pkg-config
99, withSystemd ? stdenv . isLinux && ! stdenv . hostPlatform . isStatic , systemd
1010, utf8proc
11+ , withUtempter ? stdenv . isLinux && ! stdenv . hostPlatform . isMusl , libutempter
1112} :
1213
1314let
@@ -44,12 +45,14 @@ stdenv.mkDerivation rec {
4445 ncurses
4546 libevent
4647 ] ++ lib . optionals withSystemd [ systemd ]
47- ++ lib . optionals stdenv . isDarwin [ utf8proc ] ;
48+ ++ lib . optionals stdenv . isDarwin [ utf8proc ]
49+ ++ lib . optionals withUtempter [ libutempter ] ;
4850
4951 configureFlags = [
5052 "--sysconfdir=/etc"
5153 "--localstatedir=/var"
5254 ] ++ lib . optionals withSystemd [ "--enable-systemd" ]
55+ ++ lib . optionals withUtempter [ "--enable-utempter" ]
5356 ++ lib . optionals stdenv . isDarwin [ "--enable-utf8proc" ] ;
5457
5558 enableParallelBuilding = true ;
You can’t perform that action at this time.
0 commit comments