rtkit: link with librt explicitly

This commit is contained in:
Vladimír Čunát 2019-01-05 15:44:12 +01:00
parent ac1122f264
commit 68c3097b96
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus libcap ]; buildInputs = [ dbus libcap ];
NIX_LDFLAGS = [ "-lrt" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://0pointer.de/blog/projects/rtkit; homepage = http://0pointer.de/blog/projects/rtkit;