complete flake
This commit is contained in:
parent
f0139355aa
commit
90ea7c8b92
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -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
|
||||
];
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue