Rust : Update indent.

This commit is contained in:
Dmitry Voronin 2024-02-09 04:03:48 +03:00
parent b5fe5e3d75
commit e0a2424989

View file

@ -6,33 +6,33 @@
}; };
outputs = { self, nixpkgs } @inputs: outputs = { self, nixpkgs } @inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.lib; lib = nixpkgs.lib;
in { in {
devShell.${system} = pkgs.mkShell rec { devShell.${system} = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
cargo cargo
rustc rustc
rust-analyzer rust-analyzer
rustfmt rustfmt
cmake cmake
pkg-config pkg-config
fontconfig fontconfig
]; ];
buildInputs = with pkgs; [ buildInputs = with pkgs; [
libxkbcommon libxkbcommon
wayland wayland
libGL libGL
xorg.libX11 xorg.libX11
xorg.libXrandr xorg.libXrandr
xorg.libXinerama xorg.libXinerama
xorg.libXcursor xorg.libXcursor
xorg.libXi xorg.libXi
]; ];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}"; LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
};
}; };
};
} }