From 0ab8af8409fc01fc47c8495613c43cd8bff3008f Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Sun, 31 Jul 2022 13:02:06 +0200 Subject: [PATCH] format --- dhall/flake.nix | 7 ++----- elixir/flake.nix | 7 ++----- gleam/flake.nix | 7 ++----- go1.17/flake.nix | 7 ++----- go1.18/flake.nix | 7 ++----- java/flake.nix | 7 ++----- kotlin/flake.nix | 7 ++----- nix/flake.nix | 7 ++----- node/flake.nix | 7 ++----- protobuf/flake.nix | 7 ++----- rust/flake.nix | 3 +-- scala/flake.nix | 7 ++----- zig/flake.nix | 7 ++----- 13 files changed, 25 insertions(+), 62 deletions(-) diff --git a/dhall/flake.nix b/dhall/flake.nix index 00359b0..762b036 100644 --- a/dhall/flake.nix +++ b/dhall/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Dhall development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/elixir/flake.nix b/elixir/flake.nix index 2edc723..4c72243 100644 --- a/elixir/flake.nix +++ b/elixir/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Elixir development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/gleam/flake.nix b/gleam/flake.nix index 850ed52..2f059eb 100644 --- a/gleam/flake.nix +++ b/gleam/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Gleam development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/go1.17/flake.nix b/go1.17/flake.nix index 376901b..a2cfc29 100644 --- a/go1.17/flake.nix +++ b/go1.17/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Go 1.17 development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/go1.18/flake.nix b/go1.18/flake.nix index 8829935..7fbe1f5 100644 --- a/go1.18/flake.nix +++ b/go1.18/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Go 1.18 development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/java/flake.nix b/java/flake.nix index 80e6a70..f6312b2 100644 --- a/java/flake.nix +++ b/java/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Java development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let jdk = "jdk17"; diff --git a/kotlin/flake.nix b/kotlin/flake.nix index 26bc820..a7b2476 100644 --- a/kotlin/flake.nix +++ b/kotlin/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Kotlin development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let jdk = "jdk17"; diff --git a/nix/flake.nix b/nix/flake.nix index 93830fe..65f0567 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Nix development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/node/flake.nix b/node/flake.nix index 47ed2f4..88d914a 100644 --- a/node/flake.nix +++ b/node/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Node.js development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/protobuf/flake.nix b/protobuf/flake.nix index 35f33ed..e647819 100644 --- a/protobuf/flake.nix +++ b/protobuf/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Protobuf development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/rust/flake.nix b/rust/flake.nix index 9b58b86..b9b7758 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -7,8 +7,7 @@ }; outputs = { self, dev, rust-overlay }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let overlays = [ (import rust-overlay) ]; diff --git a/scala/flake.nix b/scala/flake.nix index 435e1ff..ad14060 100644 --- a/scala/flake.nix +++ b/scala/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Scala development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let jdk = "jdk17"; diff --git a/zig/flake.nix b/zig/flake.nix index afe65ae..62d458f 100644 --- a/zig/flake.nix +++ b/zig/flake.nix @@ -1,13 +1,10 @@ { description = "A Nix-flake-based Zig development environment"; - inputs = { - dev.url = "github:the-nix-way/dev-templates"; - }; + inputs = { dev.url = "github:the-nix-way/dev-templates"; }; outputs = { self, dev }: - let - inherit (dev.lib) flake-utils nixpkgs; + let inherit (dev.lib) flake-utils nixpkgs; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; };