kmscon: set strictDeps, fix cross compilation

This commit is contained in:
Nick Cao 2023-11-27 22:23:13 -05:00
parent cc0257d063
commit 9cb089895c
No known key found for this signature in database

View File

@ -16,6 +16,7 @@
, libxslt
, mesa
, ninja
, buildPackages
}:
stdenv.mkDerivation rec {
@ -29,13 +30,18 @@ stdenv.mkDerivation rec {
sha256 = "sha256-8owyyzCrZVbWXcCR+RA+m0MOrdzW+efI+rIMWEVEZ1o=";
};
strictDeps = true;
depsBuildBuild = [
buildPackages.stdenv.cc
];
buildInputs = [
libGLU
libGL
libdrm
libtsm
libxkbcommon
libxslt
pango
pixman
systemd
@ -47,6 +53,7 @@ stdenv.mkDerivation rec {
ninja
docbook_xsl
pkg-config
libxslt # xsltproc
];
patches = [