3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #17012 from womfoo/fix/lightum

lightum: fix build against systemd-230
This commit is contained in:
Tuomas Tynkkynen 2016-07-16 17:12:27 +03:00 committed by GitHub
commit a4dfa90139

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"