diff --git a/flake.nix b/flake.nix index b2f2720..f103238 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,6 @@ { - description = "Ready-made templates for easily creating flake-driven environments"; + description = + "Ready-made templates for easily creating flake-driven environments"; outputs = { self }: { templates = { diff --git a/gleam/flake.nix b/gleam/flake.nix index 9c60a79..dcf6d98 100644 --- a/gleam/flake.nix +++ b/gleam/flake.nix @@ -16,15 +16,12 @@ in { devShells = { default = pkgs.mkShell { - buildInputs = [ - gleamPkg - ]; + buildInputs = [ gleamPkg ]; shellHook = '' ${gleamPkg}/bin/gleam --version ''; }; }; - } - ); + }); } diff --git a/go1.17/flake.nix b/go1.17/flake.nix index 3d41bbb..3064f77 100644 --- a/go1.17/flake.nix +++ b/go1.17/flake.nix @@ -46,6 +46,5 @@ ''; }; }; - } - ); + }); } diff --git a/go1.18/flake.nix b/go1.18/flake.nix index be62fe5..5a05234 100644 --- a/go1.18/flake.nix +++ b/go1.18/flake.nix @@ -46,6 +46,5 @@ ''; }; }; - } - ); + }); } diff --git a/java/flake.nix b/java/flake.nix index 023aba9..94bdc1b 100644 --- a/java/flake.nix +++ b/java/flake.nix @@ -19,15 +19,12 @@ in { devShells = { default = pkgs.mkShell { - buildInputs = [ - java - ] ++ buildTools; + buildInputs = [ java ] ++ buildTools; shellHook = '' ${java}/bin/java -version ''; }; }; - } - ); + }); } diff --git a/nix/flake.nix b/nix/flake.nix index 95a1b89..79c13fc 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -13,7 +13,7 @@ nix = pkgs.nixUnstable; - helpers = with pkgs; [ nixpkgs-fmt statix ]; + helpers = with pkgs; [ nixfmt nixpkgs-fmt statix ]; inherit (pkgs) mkShell; in { @@ -26,6 +26,5 @@ ''; }; }; - } - ); + }); } diff --git a/node/flake.nix b/node/flake.nix index c006b06..166c1b8 100644 --- a/node/flake.nix +++ b/node/flake.nix @@ -19,17 +19,12 @@ in { devShells = { default = pkgs.mkShell { - buildInputs = [ - nodejs - pnpm - (yarn.override { inherit nodejs; }) - ]; + buildInputs = [ nodejs pnpm (yarn.override { inherit nodejs; }) ]; shellHook = '' echo "node `${nodejs}/bin/node --version`" ''; }; }; - } - ); + }); } diff --git a/rust/flake.nix b/rust/flake.nix index 82c881b..97f1b46 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -10,13 +10,9 @@ outputs = { self, nixpkgs, flake-utils, rust-overlay }: flake-utils.lib.eachDefaultSystem (system: let - overlays = [ - (import rust-overlay) - ]; + overlays = [ (import rust-overlay) ]; - pkgs = import nixpkgs { - inherit system overlays; - }; + pkgs = import nixpkgs { inherit system overlays; }; rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; @@ -30,15 +26,12 @@ devShells = { default = mkShell { - buildInputs = [ - rust - ] ++ helpers; + buildInputs = [ rust ] ++ helpers; shellHook = '' ${rust}/bin/cargo --version ''; }; }; - } - ); + }); } diff --git a/scala/flake.nix b/scala/flake.nix index dbd42c4..5dfb5a2 100644 --- a/scala/flake.nix +++ b/scala/flake.nix @@ -14,12 +14,8 @@ config = { packageOverrides = p: { - sbt = p.sbt.override { - jre = p.${jdk}; - }; - scala_3 = p.scala_3.override { - jre = p.${jdk}; - }; + sbt = p.sbt.override { jre = p.${jdk}; }; + scala_3 = p.scala_3.override { jre = p.${jdk}; }; }; }; @@ -33,16 +29,12 @@ in { devShells = { default = pkgs.mkShell { - buildInputs = [ - scala - jdkPkg - ] ++ buildTools; + buildInputs = [ scala jdkPkg ] ++ buildTools; shellHook = '' ${scala}/bin/scala -version ''; }; }; - } - ); + }); } diff --git a/zig/flake.nix b/zig/flake.nix index 3023741..7a0fa45 100644 --- a/zig/flake.nix +++ b/zig/flake.nix @@ -16,15 +16,12 @@ in { devShells = { default = pkgs.mkShell { - buildInputs = [ - zigPkg - ]; + buildInputs = [ zigPkg ]; shellHook = '' ${zigPkg}/bin/zig version ''; }; }; - } - ); + }); }