mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #17012 from womfoo/fix/lightum
lightum: fix build against systemd-230
This commit is contained in:
commit
a4dfa90139
1 changed files with 5 additions and 0 deletions
|
@ -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