From f381b8a291996e7dfd3d7b4e86d5b7f94a3192ca Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 6 Mar 2023 13:28:29 +0200 Subject: [PATCH] Stable release 22.11 --- README.md | 43 +++++++++++++++++++++------------------ clojure/flake.lock | 7 ++++--- clojure/flake.nix | 4 ++-- cue/flake.lock | 7 ++++--- cue/flake.nix | 4 ++-- dhall/flake.lock | 7 ++++--- dhall/flake.nix | 4 ++-- elixir/flake.lock | 7 ++++--- elixir/flake.nix | 4 ++-- elm/flake.lock | 7 ++++--- elm/flake.nix | 4 ++-- flake.lock | 6 +++--- gleam/flake.lock | 7 ++++--- gleam/flake.nix | 4 ++-- go/flake.lock | 7 ++++--- go/flake.nix | 4 ++-- hashi/flake.lock | 7 ++++--- hashi/flake.nix | 4 ++-- haskell/flake.lock | 7 ++++--- haskell/flake.nix | 4 ++-- java/flake.lock | 7 ++++--- java/flake.nix | 4 ++-- kotlin/flake.lock | 7 ++++--- kotlin/flake.nix | 4 ++-- nickel/flake.lock | 7 ++++--- nickel/flake.nix | 4 ++-- nim/flake.lock | 7 ++++--- nim/flake.nix | 4 ++-- nix/flake.lock | 7 ++++--- nix/flake.nix | 4 ++-- node/flake.lock | 7 ++++--- node/flake.nix | 4 ++-- ocaml/flake.lock | 7 ++++--- ocaml/flake.nix | 4 ++-- opa/flake.lock | 7 ++++--- opa/flake.nix | 4 ++-- php/flake.lock | 7 ++++--- php/flake.nix | 4 ++-- protobuf/flake.lock | 7 ++++--- protobuf/flake.nix | 5 +++-- purescript/flake.lock | 7 ++++--- purescript/flake.nix | 30 ++++++++++++++------------- python/flake.lock | 7 ++++--- python/flake.nix | 5 +++-- ruby/flake.lock | 7 ++++--- ruby/flake.nix | 5 +++-- rust-toolchain/flake.lock | 7 ++++--- rust-toolchain/flake.nix | 4 ++-- rust/flake.lock | 7 ++++--- rust/flake.nix | 4 ++-- scala/flake.lock | 7 ++++--- scala/flake.nix | 6 +++--- zig/flake.lock | 7 ++++--- zig/flake.nix | 4 ++-- 54 files changed, 200 insertions(+), 166 deletions(-) diff --git a/README.md b/README.md index b93dd9e..eb7c07d 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ nix flake init --template github:the-nix-way/dev-templates#rust nix flake new --template github:the-nix-way/dev-templates#rust ${NEW_PROJECT_DIRECTORY} ``` +> **Note**: All templates are pinned to the [22.11 release][release] of Nixpkgs. + ## How to use the templates Once your preferred template has been initialized, you can use the provided shell in two ways: @@ -27,25 +29,25 @@ Once your preferred template has been initialized, you can use the provided shel ## Available templates -| Language/framework/tool | Template | -| :----------------------- | :-----------------------------| -| [Clojure] | [`clojure`](./clojure/) | -| [Cue] | [`cue`](./cue/) | -| [Dhall] | [`dhall`](./dhall/) | -| [Elixir] | [`elixir`](./elixir/) | -| [Elm] | [`elm`](./elm/) | -| [Gleam] | [`gleam`](./gleam/) | -| [Go] | [`go`](./go/) | -| [Hashicorp] tools | [`hashi`](./hashi/) | -| [Java] | [`java`](./java/) | -| [Kotlin] | [`kotlin`](./kotlin/) | -| [Nickel] | [`nickel`](./nickel/) | -| [Nim] | [`nim`](./nim/) | -| [Nix] | [`nix`](./nix/) | -| [Node.js][node] | [`node`](./node/) | -| [OCaml] | [`ocaml`](./ocaml/) | -| [Open Policy Agent][opa] | [`opa`](./opa) | -| [PHP] | [`php`](./php/) | +| Language/framework/tool | Template | +| :----------------------- | :-----------------------------| +| [Clojure] | [`clojure`](./clojure/) | +| [Cue] | [`cue`](./cue/) | +| [Dhall] | [`dhall`](./dhall/) | +| [Elixir] | [`elixir`](./elixir/) | +| [Elm] | [`elm`](./elm/) | +| [Gleam] | [`gleam`](./gleam/) | +| [Go] | [`go`](./go/) | +| [Hashicorp] tools | [`hashi`](./hashi/) | +| [Java] | [`java`](./java/) | +| [Kotlin] | [`kotlin`](./kotlin/) | +| [Nickel] | [`nickel`](./nickel/) | +| [Nim] | [`nim`](./nim/) | +| [Nix] | [`nix`](./nix/) | +| [Node.js][node] | [`node`](./node/) | +| [OCaml] | [`ocaml`](./ocaml/) | +| [Open Policy Agent][opa] | [`opa`](./opa) | +| [PHP] | [`php`](./php/) | | [Protobuf] | [`protobuf`](./protobuf/) | | [Purescript] | [`purescript`](./purescript/) | | [Ruby] | [`ruby`](./ruby/) | @@ -306,13 +308,14 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T [purescript-language-server]: https://github.com/nwolverson/purescript-language-server [purs-tidy]: https://github.com/natefaubion/purescript-tidy [python]: https://python.org +[release]: https://github.com/NixOS/nixpkgs/releases/tag/22.11 [ruby]: https://ruby-lang.org [rust]: https://rust-lang.org [rust-analyzer]: https://rust-analyzer.github.io [scala]: https://scala-lang.org [statix]: https://github.com/nerdypepper/statix [sbt]: https://www.scala-sbt.org -[Spago]: https://github.com/purescript/spago +[spago]: https://github.com/purescript/spago [terraform]: https://terraform.io [terragrunt]: https://terragrunt.gruntwork.io [tflint]: https://github.com/terraform-linters/tflint diff --git a/clojure/flake.lock b/clojure/flake.lock index de8063b..b6ad226 100644 --- a/clojure/flake.lock +++ b/clojure/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/clojure/flake.nix b/clojure/flake.nix index 56e34fb..822bdda 100644 --- a/clojure/flake.nix +++ b/clojure/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Clojure development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/cue/flake.lock b/cue/flake.lock index 8300f77..5e1784f 100644 --- a/cue/flake.lock +++ b/cue/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1667152175, - "narHash": "sha256-ziWAQ+ny5vXP/HKg7Kpon1mB/jZJfLBujb2fnebNXT0=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a8a8a9e2e74ee76495f56366492c2ab222b8dd2f", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/cue/flake.nix b/cue/flake.nix index 9737cd6..edfe827 100644 --- a/cue/flake.nix +++ b/cue/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Cue development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/dhall/flake.lock b/dhall/flake.lock index de8063b..b6ad226 100644 --- a/dhall/flake.lock +++ b/dhall/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/dhall/flake.nix b/dhall/flake.nix index 3c066ae..11ad6f3 100644 --- a/dhall/flake.nix +++ b/dhall/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Dhall development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/elixir/flake.lock b/elixir/flake.lock index de8063b..b6ad226 100644 --- a/elixir/flake.lock +++ b/elixir/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/elixir/flake.nix b/elixir/flake.nix index 02cfcf7..f4aa3ef 100644 --- a/elixir/flake.nix +++ b/elixir/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Elixir development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/elm/flake.lock b/elm/flake.lock index de8063b..b6ad226 100644 --- a/elm/flake.lock +++ b/elm/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/elm/flake.nix b/elm/flake.nix index 3f01d23..03df900 100644 --- a/elm/flake.nix +++ b/elm/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Elm development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/flake.lock b/flake.lock index de60b4a..6b8ee23 100644 --- a/flake.lock +++ b/flake.lock @@ -17,11 +17,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676209454, - "narHash": "sha256-alj9mBkV9U6tTPDK026671D2pesLSYZZc9j5dBZJ9f0=", + "lastModified": 1677995890, + "narHash": "sha256-eOnCn0o3I6LP48fAi8xWFcn49V2rL7oX5jCtJTeN1LI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8c619a1f3cedd16ea172146e30645e703d21bfc1", + "rev": "a1240f6b4a0bcc84fc48008b396a140d9f3638f6", "type": "github" }, "original": { diff --git a/gleam/flake.lock b/gleam/flake.lock index de8063b..b6ad226 100644 --- a/gleam/flake.lock +++ b/gleam/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/gleam/flake.nix b/gleam/flake.nix index ba762ce..782e5c9 100644 --- a/gleam/flake.nix +++ b/gleam/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Gleam development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/go/flake.lock b/go/flake.lock index de8063b..b6ad226 100644 --- a/go/flake.lock +++ b/go/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/go/flake.nix b/go/flake.nix index d73b81b..c67c1c9 100644 --- a/go/flake.nix +++ b/go/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Go 1.17 development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/hashi/flake.lock b/hashi/flake.lock index de8063b..b6ad226 100644 --- a/hashi/flake.lock +++ b/hashi/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/hashi/flake.nix b/hashi/flake.nix index 7cf1b95..ede3835 100644 --- a/hashi/flake.nix +++ b/hashi/flake.nix @@ -3,14 +3,14 @@ "A Nix-flake-based development environment for Terraform, Packer, and Nomad"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/haskell/flake.lock b/haskell/flake.lock index de8063b..b6ad226 100644 --- a/haskell/flake.lock +++ b/haskell/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/haskell/flake.nix b/haskell/flake.nix index 1bdabac..6d8e76f 100644 --- a/haskell/flake.nix +++ b/haskell/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Haskell development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/java/flake.lock b/java/flake.lock index de8063b..b6ad226 100644 --- a/java/flake.lock +++ b/java/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/java/flake.nix b/java/flake.nix index 498ea44..bd7b863 100644 --- a/java/flake.nix +++ b/java/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Java development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/kotlin/flake.lock b/kotlin/flake.lock index de8063b..b6ad226 100644 --- a/kotlin/flake.lock +++ b/kotlin/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/kotlin/flake.nix b/kotlin/flake.nix index 8fb391b..4e9014a 100644 --- a/kotlin/flake.nix +++ b/kotlin/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Kotlin development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/nickel/flake.lock b/nickel/flake.lock index de8063b..b6ad226 100644 --- a/nickel/flake.lock +++ b/nickel/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/nickel/flake.nix b/nickel/flake.nix index 806f0b8..5149eef 100644 --- a/nickel/flake.nix +++ b/nickel/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Protobuf development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/nim/flake.lock b/nim/flake.lock index de8063b..b6ad226 100644 --- a/nim/flake.lock +++ b/nim/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/nim/flake.nix b/nim/flake.nix index eeae7e6..4277d5d 100644 --- a/nim/flake.nix +++ b/nim/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Nim development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/nix/flake.lock b/nix/flake.lock index de8063b..b6ad226 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/nix/flake.nix b/nix/flake.nix index b3ea51e..aa04f34 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Nix development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/node/flake.lock b/node/flake.lock index de8063b..b6ad226 100644 --- a/node/flake.lock +++ b/node/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/node/flake.nix b/node/flake.nix index 28c0561..34fca72 100644 --- a/node/flake.nix +++ b/node/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Node.js development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/ocaml/flake.lock b/ocaml/flake.lock index de8063b..b6ad226 100644 --- a/ocaml/flake.lock +++ b/ocaml/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/ocaml/flake.nix b/ocaml/flake.nix index 0f94633..1a50eb1 100644 --- a/ocaml/flake.nix +++ b/ocaml/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based OCaml development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/opa/flake.lock b/opa/flake.lock index de8063b..b6ad226 100644 --- a/opa/flake.lock +++ b/opa/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/opa/flake.nix b/opa/flake.nix index 75fd2cc..c1a0503 100644 --- a/opa/flake.nix +++ b/opa/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Open Policy Agent development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/php/flake.lock b/php/flake.lock index de8063b..b6ad226 100644 --- a/php/flake.lock +++ b/php/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/php/flake.nix b/php/flake.nix index 77b976a..59d063d 100644 --- a/php/flake.nix +++ b/php/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based PHP development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: diff --git a/protobuf/flake.lock b/protobuf/flake.lock index de8063b..b6ad226 100644 --- a/protobuf/flake.lock +++ b/protobuf/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/protobuf/flake.nix b/protobuf/flake.nix index ce5a132..1da1ba8 100644 --- a/protobuf/flake.nix +++ b/protobuf/flake.nix @@ -2,15 +2,16 @@ description = "A Nix-flake-based Protobuf development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: + flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; diff --git a/purescript/flake.lock b/purescript/flake.lock index a2f75d2..6f42f5e 100644 --- a/purescript/flake.lock +++ b/purescript/flake.lock @@ -33,15 +33,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/purescript/flake.nix b/purescript/flake.nix index 064e8e5..63d6f54 100644 --- a/purescript/flake.nix +++ b/purescript/flake.nix @@ -2,38 +2,40 @@ description = "A Nix-flake-based Purescript development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; easy-purescript-nix = { url = "github:justinwoo/easy-purescript-nix"; flake = false; }; }; + outputs = { self , nixpkgs , flake-utils , easy-purescript-nix }: + flake-utils.lib.eachDefaultSystem (system: let - pkgs = nixpkgs.legacyPackages.${system}; + pkgs = import nixpkgs { inherit system; }; easy-ps = import easy-purescript-nix { inherit pkgs; }; in { devShells.default = pkgs.mkShell { - packages = [ - easy-ps.purs - easy-ps.spago - easy-ps.purescript-language-server - easy-ps.purs-tidy - pkgs.nodejs - ]; - shellHook = '' - echo "Purs `${easy-ps.purs}/bin/purs --version`" - echo "Spago `${easy-ps.spago}/bin/spago --version`" - echo "Purescript Language Server `${easy-ps.purescript-language-server}/bin/purescript-language-server --version`" - echo "Purs Tidy `${easy-ps.purs-tidy}/bin/purs-tidy --version`" + packages = (with pkgs; [ nodejs ]) ++ (with easy-ps; [ + purs + spago + purescript-language-server + purs-tidy + ]); + + shellHook = with easy-ps; '' + echo "Purs `${purs}/bin/purs --version`" + echo "Spago `${spago}/bin/spago --version`" + echo "Purescript Language Server `${purescript-language-server}/bin/purescript-language-server --version`" + echo "Purs Tidy `${purs-tidy}/bin/purs-tidy --version`" echo "Node.js `${pkgs.nodejs}/bin/node --version`" ''; }; diff --git a/python/flake.lock b/python/flake.lock index 825aa83..22fe482 100644 --- a/python/flake.lock +++ b/python/flake.lock @@ -67,15 +67,16 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/python/flake.nix b/python/flake.nix index 8905993..977e816 100644 --- a/python/flake.nix +++ b/python/flake.nix @@ -2,17 +2,18 @@ description = "A Nix-flake-based Python development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; mach-nix.url = "github:/DavHau/mach-nix"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self + , nixpkgs , flake-utils , mach-nix - , nixpkgs }: + flake-utils.lib.eachDefaultSystem (system: let overlays = [ diff --git a/ruby/flake.lock b/ruby/flake.lock index 8300f77..5e1784f 100644 --- a/ruby/flake.lock +++ b/ruby/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1667152175, - "narHash": "sha256-ziWAQ+ny5vXP/HKg7Kpon1mB/jZJfLBujb2fnebNXT0=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a8a8a9e2e74ee76495f56366492c2ab222b8dd2f", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/ruby/flake.nix b/ruby/flake.nix index dacc0d0..abc3be8 100644 --- a/ruby/flake.nix +++ b/ruby/flake.nix @@ -2,15 +2,16 @@ description = "A Nix-flake-based Ruby development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: + flake-utils.lib.eachDefaultSystem (system: let overlays = [ diff --git a/rust-toolchain/flake.lock b/rust-toolchain/flake.lock index c58f5e7..d0ee63f 100644 --- a/rust-toolchain/flake.lock +++ b/rust-toolchain/flake.lock @@ -32,15 +32,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1678101631, + "narHash": "sha256-vuuvWBNGhNSPPbFCjp2XZmBqJOvsFF1T0hyleRnHZlc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "934e613c31cf7af0624dcf088b9e2d9b802d0717", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/rust-toolchain/flake.nix b/rust-toolchain/flake.nix index 6843616..a876c0e 100644 --- a/rust-toolchain/flake.nix +++ b/rust-toolchain/flake.nix @@ -2,15 +2,15 @@ description = "A Nix-flake-based Rust development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; rust-overlay.url = "github:oxalica/rust-overlay"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils , rust-overlay }: diff --git a/rust/flake.lock b/rust/flake.lock index c58f5e7..2578f0c 100644 --- a/rust/flake.lock +++ b/rust/flake.lock @@ -32,15 +32,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1677655039, + "narHash": "sha256-IsU0SSBUOr/qYTkiwIgXQ91Io/2bfXI7PG4MoJritLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "96a40fa5e8dee644ba60c8a966adadd2d448104a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/rust/flake.nix b/rust/flake.nix index a821f2b..bbc2371 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -2,15 +2,15 @@ description = "A Nix-flake-based Rust development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; rust-overlay.url = "github:oxalica/rust-overlay"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils , rust-overlay }: diff --git a/scala/flake.lock b/scala/flake.lock index de8063b..f26e416 100644 --- a/scala/flake.lock +++ b/scala/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1678101631, + "narHash": "sha256-vuuvWBNGhNSPPbFCjp2XZmBqJOvsFF1T0hyleRnHZlc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "934e613c31cf7af0624dcf088b9e2d9b802d0717", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/scala/flake.nix b/scala/flake.nix index 6f9c974..5bc4b0f 100644 --- a/scala/flake.nix +++ b/scala/flake.nix @@ -2,17 +2,17 @@ description = "A Nix-flake-based Scala development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + flake-utils.lib.eachDefaultSystem (system: let javaVersion = 17; diff --git a/zig/flake.lock b/zig/flake.lock index de8063b..f26e416 100644 --- a/zig/flake.lock +++ b/zig/flake.lock @@ -17,15 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676419747, - "narHash": "sha256-VKaecpmFjq3qsG4b7t7UOu2tSTTJKbGHR5f0ICLQT6M=", + "lastModified": 1678101631, + "narHash": "sha256-vuuvWBNGhNSPPbFCjp2XZmBqJOvsFF1T0hyleRnHZlc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9fbcf04164c77ac8a473f984e666d81beef224d", + "rev": "934e613c31cf7af0624dcf088b9e2d9b802d0717", "type": "github" }, "original": { "owner": "NixOS", + "ref": "release-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/zig/flake.nix b/zig/flake.nix index 771ac33..f4b3e0b 100644 --- a/zig/flake.nix +++ b/zig/flake.nix @@ -2,14 +2,14 @@ description = "A Nix-flake-based Zig development environment"; inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs"; }; outputs = { self - , flake-utils , nixpkgs + , flake-utils }: flake-utils.lib.eachDefaultSystem (system: