diff --git a/flake.lock b/flake.lock index 604641c..5999137 100644 --- a/flake.lock +++ b/flake.lock @@ -1,26 +1,6 @@ { "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1723400035, - "narHash": "sha256-WoKZDlBEdMhP+hjquBAh0BhUJbcH2+U8g2mHOr1mv8I=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "a731b45590a5169542990c36ffcde6cebd9a3356", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "release-24.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs" - } - } + "root": {} }, "root": "root", "version": 7 diff --git a/flake.nix b/flake.nix index 9df03f0..b2e7b5e 100644 --- a/flake.nix +++ b/flake.nix @@ -1,10 +1,6 @@ { description = "Flake Template Hell"; - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/release-24.05"; - }; - outputs = _: { templates = { "python" = { @@ -19,6 +15,10 @@ path = ./templates/rust; description = "rust flake template"; }; + "haskell" = { + path = ./templates/haskell; + description = "haskell flake template"; + }; }; }; } diff --git a/templates/Haskell/CHANGELOG.md b/templates/haskell/CHANGELOG.md similarity index 100% rename from templates/Haskell/CHANGELOG.md rename to templates/haskell/CHANGELOG.md diff --git a/templates/Haskell/LICENSE b/templates/haskell/LICENSE similarity index 100% rename from templates/Haskell/LICENSE rename to templates/haskell/LICENSE diff --git a/templates/Haskell/app/Main.hs b/templates/haskell/app/Main.hs similarity index 100% rename from templates/Haskell/app/Main.hs rename to templates/haskell/app/Main.hs diff --git a/templates/Haskell/cool-haskell-project.cabal b/templates/haskell/cool-haskell-project.cabal similarity index 100% rename from templates/Haskell/cool-haskell-project.cabal rename to templates/haskell/cool-haskell-project.cabal diff --git a/templates/Haskell/flake.lock b/templates/haskell/flake.lock similarity index 100% rename from templates/Haskell/flake.lock rename to templates/haskell/flake.lock diff --git a/templates/Haskell/flake.nix b/templates/haskell/flake.nix similarity index 100% rename from templates/Haskell/flake.nix rename to templates/haskell/flake.nix diff --git a/templates/Haskell/flake/package.nix b/templates/haskell/flake/package.nix similarity index 100% rename from templates/Haskell/flake/package.nix rename to templates/haskell/flake/package.nix diff --git a/templates/Haskell/flake/shell.nix b/templates/haskell/flake/shell.nix similarity index 100% rename from templates/Haskell/flake/shell.nix rename to templates/haskell/flake/shell.nix diff --git a/templates/Haskell/flake/treefmt.nix b/templates/haskell/flake/treefmt.nix similarity index 100% rename from templates/Haskell/flake/treefmt.nix rename to templates/haskell/flake/treefmt.nix