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; };
|
pkgs = import nixpkgs { inherit system overlays; };
|
||||||
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
|
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
|
||||||
rustToolchain = pkgs.rust-bin.stable.latest.default;
|
rustToolchain = pkgs.rust-bin.stable.latest.default;
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
rustToolchain
|
rustToolchain
|
||||||
mold
|
mold
|
||||||
pkg-config
|
pkg-config
|
||||||
clang
|
clang
|
||||||
];
|
];
|
||||||
|
|
||||||
xorgBuildInputs = with pkgs; [
|
xorgBuildInputs = with pkgs; [
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
xorg.libXcursor
|
xorg.libXcursor
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
xorg.libXrandr
|
xorg.libXrandr
|
||||||
];
|
];
|
||||||
|
|
||||||
waylandBuildInputs = with pkgs; [
|
waylandBuildInputs = with pkgs; [
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
wayland
|
wayland
|
||||||
];
|
];
|
||||||
|
|
||||||
# Graphics/rendering libraries needed for wgpu (used by show-image)
|
# Graphics/rendering libraries needed for wgpu (used by show-image)
|
||||||
graphicsBuildInputs = with pkgs; [
|
graphicsBuildInputs = with pkgs; [
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = xorgBuildInputs ++ waylandBuildInputs ++ graphicsBuildInputs;
|
buildInputs = xorgBuildInputs ++ waylandBuildInputs ++ graphicsBuildInputs;
|
||||||
|
|
||||||
mkShell = pkgs.mkShell.override {
|
mkShell = pkgs.mkShell.override {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue