mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-27 19:20:44 +01:00
feat: init for macroquad
This commit is contained in:
@@ -16,11 +16,26 @@
|
||||
# rustc
|
||||
# already provided by buildRustPackage :p
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
# runtime deps
|
||||
buildInputs = with pkgs; [
|
||||
wayland
|
||||
wayland-protocols
|
||||
libGL
|
||||
alsa-lib
|
||||
|
||||
libX11.out
|
||||
libXi.out
|
||||
libXcursor.out
|
||||
libXrandr.out
|
||||
libxkbcommon.out
|
||||
libxcb
|
||||
libXinerama
|
||||
libXxf86vm
|
||||
|
||||
fontconfig
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,16 +1,29 @@
|
||||
{
|
||||
perSystem = { pkgs, config, ... }: {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
rustfmt
|
||||
clippy
|
||||
];
|
||||
perSystem =
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
rustfmt
|
||||
clippy
|
||||
];
|
||||
|
||||
RUST_LOG = "debug";
|
||||
RUST_LOG = "debug";
|
||||
|
||||
inputsFrom = [
|
||||
(config.packages.default)
|
||||
];
|
||||
LD_LIBRARY_PATH = builtins.concatStringsSep ":" [
|
||||
"${pkgs.libX11}/lib"
|
||||
"${pkgs.libXi}/lib"
|
||||
"${pkgs.libGL}/lib"
|
||||
"${pkgs.libxkbcommon}/lib"
|
||||
];
|
||||
|
||||
inputsFrom = [
|
||||
(config.packages.default)
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user