swayidle: support cross-compilation
This commit is contained in:
parent
b38329171a
commit
cb5289c8ad
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub
|
||||||
, meson, ninja, pkg-config, scdoc
|
, meson, ninja, pkg-config, scdoc, wayland-scanner
|
||||||
, wayland, wayland-protocols, systemd
|
, wayland, wayland-protocols, systemd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "version: '1.5'" "version: '${version}'"
|
--replace "version: '1.5'" "version: '${version}'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
|
||||||
buildInputs = [ wayland wayland-protocols systemd ];
|
buildInputs = [ wayland wayland-protocols systemd ];
|
||||||
|
|
||||||
mesonFlags = [ "-Dman-pages=enabled" "-Dlogind=enabled" ];
|
mesonFlags = [ "-Dman-pages=enabled" "-Dlogind=enabled" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user