lightum: fix build against systemd-230

This commit is contained in:
Kranium Gikos Mendoza 2016-07-16 21:57:23 +08:00
parent f76a8fbbac
commit eb34cf1b6d

View file

@ -18,6 +18,11 @@ stdenv.mkDerivation {
systemd
];
patchPhase = ''
substituteInPlace Makefile \
--replace "libsystemd-login" "libsystemd"
'';
installPhase = ''
make install prefix=$out bindir=$out/bin docdir=$out/share/doc \
mandir=$out/share/man INSTALL="install -c" INSTALLDATA="install -c -m 644"