complete flake

This commit is contained in:
nek0 2024-04-21 18:56:37 +02:00
parent f0139355aa
commit 90ea7c8b92

View file

@ -47,6 +47,10 @@
packages.${crateName} = project.rootCrate.build;
defaultPackage = packages.${crateName};
devShell = pkgs.mkShell {
shellHook = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath (with pkgs; [
vulkan-loader
libxkbcommon
])}"'';
inputsFrom = builtins.attrValues self.packages.${system};
buildInputs = with pkgs; [
cargo
@ -55,6 +59,12 @@
pkg-config
alsa-lib.dev
systemd.dev
# X11 libs
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr
];
};
});