Update Nix flake and CI.

This commit is contained in:
Shuxian Wang 2023-06-01 21:26:08 -07:00
parent 3271f539bf
commit 14c0711287
3 changed files with 74 additions and 30 deletions

View file

@ -31,7 +31,11 @@
./resources
];
};
nativeBuildInputs = with pkgs; [ pkg-config autoPatchelfHook ];
nativeBuildInputs = with pkgs; [
pkg-config
autoPatchelfHook
cmake
];
buildInputs = with pkgs; [
wayland
systemd # For libudev
@ -39,8 +43,12 @@
libxkbcommon
libinput
mesa # For libgbm
fontconfig
stdenv.cc.cc.lib
];
runtimeDependencies = with pkgs; [
libglvnd # For libEGL
];
runtimeDependencies = with pkgs; [ libglvnd ]; # For libEGL
};
cargoArtifacts = craneLib.buildDepsOnly pkgDef;