From eefb27efd13deebcb56b92c0633eda2afd6aa8bc Mon Sep 17 00:00:00 2001 From: gallon Date: Sun, 22 Dec 2024 19:30:09 +0800 Subject: [PATCH] nix fmt --- nix/shell.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/nix/shell.nix b/nix/shell.nix index 31fffa53a3..acdbc82ca5 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -5,19 +5,20 @@ let inherit (pkgs) lib; in pkgs.mkShell rec { - packages = [ - pkgs.clang - pkgs.curl - pkgs.cmake - pkgs.perl - pkgs.pkg-config - pkgs.protobuf - pkgs.rustPlatform.bindgenHook - pkgs.rust-analyzer + packages = + [ + pkgs.clang + pkgs.curl + pkgs.cmake + pkgs.perl + pkgs.pkg-config + pkgs.protobuf + pkgs.rustPlatform.bindgenHook + pkgs.rust-analyzer ] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ - pkgs.mold - ]; + pkgs.mold + ]; buildInputs = [