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:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.lib;
in {
devShell.${system} = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [
cargo
rustc
rust-analyzer
rustfmt
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.lib;
in {
devShell.${system} = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [
cargo
rustc
rust-analyzer
rustfmt
cmake
pkg-config
fontconfig
];
buildInputs = with pkgs; [
libxkbcommon
wayland
libGL
xorg.libX11
xorg.libXrandr
xorg.libXinerama
xorg.libXcursor
xorg.libXi
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
};
cmake
pkg-config
fontconfig
];
buildInputs = with pkgs; [
libxkbcommon
wayland
libGL
xorg.libX11
xorg.libXrandr
xorg.libXinerama
xorg.libXcursor
xorg.libXi
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
};
};
}