forked from mirrors/nixpkgs
Merge pull request #17012 from womfoo/fix/lightum
lightum: fix build against systemd-230
This commit is contained in:
commit
a4dfa90139
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue