Revamp all templates to remove flake-utils and nixpkgs-unstable
This commit is contained in:
parent
db0398d60d
commit
8532ea5be8
58 changed files with 587 additions and 1299 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue