Merge pull request #129096 from Mindavi/sway-idle-lock/cross
swayidle, swaylock: support cross-compilation
This commit is contained in:
commit
4b2e88d6f0
2 changed files with 4 additions and 4 deletions
|
@ -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" ];
|
||||||
|
|
|
@ -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, libxkbcommon, cairo, gdk-pixbuf, pam
|
, wayland, wayland-protocols, libxkbcommon, cairo, gdk-pixbuf, pam
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
--replace "version: '1.4'" "version: '${version}'"
|
--replace "version: '1.4'" "version: '${version}'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
|
||||||
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ];
|
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
|
Loading…
Reference in a new issue