Revamp all templates to remove flake-utils and nixpkgs-unstable

This commit is contained in:
Luc Perkins 2023-07-13 17:12:42 -07:00
parent db0398d60d
commit 8532ea5be8
No known key found for this signature in database
GPG key ID: CED8419FB058467A
58 changed files with 587 additions and 1299 deletions

View file

@ -3,13 +3,10 @@
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs =
{ self
, nixpkgs
}:
outputs = { self, nixpkgs }:
let
javaVersion = 17;
javaVersion = 20;
overlays = [
(final: prev: rec {
jdk = prev."jdk${toString javaVersion}";
@ -22,7 +19,8 @@
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
pkgs = import nixpkgs { inherit overlays system; };
});
in {
in
{
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [ boot clojure leiningen ];