wip
This commit is contained in:
parent
9788dcbd1b
commit
04054560d1
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
|
@ -21,31 +21,31 @@
|
|||
pkgs = import nixpkgs { inherit system overlays; };
|
||||
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
|
||||
rustToolchain = pkgs.rust-bin.stable.latest.default;
|
||||
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
rustToolchain
|
||||
mold
|
||||
pkg-config
|
||||
clang
|
||||
];
|
||||
|
||||
|
||||
xorgBuildInputs = with pkgs; [
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXrandr
|
||||
];
|
||||
|
||||
|
||||
waylandBuildInputs = with pkgs; [
|
||||
libxkbcommon
|
||||
wayland
|
||||
];
|
||||
|
||||
|
||||
# Graphics/rendering libraries needed for wgpu (used by show-image)
|
||||
graphicsBuildInputs = with pkgs; [
|
||||
vulkan-loader
|
||||
];
|
||||
|
||||
|
||||
buildInputs = xorgBuildInputs ++ waylandBuildInputs ++ graphicsBuildInputs;
|
||||
|
||||
mkShell = pkgs.mkShell.override {
|
||||
|
|
|
|||
Loading…
Reference in a new issue