From e0a2424989a7e64a7347682c57eb41ab368ef8a8 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 9 Feb 2024 04:03:48 +0300 Subject: [PATCH] Rust : Update indent. --- .config/linux/flake/template/Rust.nix | 54 +++++++++++++-------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.config/linux/flake/template/Rust.nix b/.config/linux/flake/template/Rust.nix index dc6cf01..b297d56 100644 --- a/.config/linux/flake/template/Rust.nix +++ b/.config/linux/flake/template/Rust.nix @@ -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}"; }; + }; }