Change input style in templates

This commit is contained in:
Luc Perkins 2022-08-20 13:06:53 +03:00
parent 7d2f532169
commit e788a09be9
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
49 changed files with 280 additions and 699 deletions

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Clojure development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
jdk = "jdk17";

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Cue development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) cue mkShell;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Dhall development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
dhall = pkgs.dhall;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Elixir development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Elm development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell;

View file

@ -7,7 +7,7 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
outputs = { self, flake-utils, nixpkgs }:
{
templates = {
cue = {
@ -120,10 +120,6 @@
description = "Zig development environment";
};
};
lib = {
inherit flake-utils nixpkgs;
};
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
@ -139,16 +135,13 @@
(
cd $dir
${exec "nix"} flake update # Update flake.lock
${exec "direnv"} reload # Make sure things work after the update
${
exec "direnv"
} reload # Make sure things work after the update
)
done
'';
in {
devShells = {
default = mkShell {
buildInputs = [ format update ];
};
};
}
);
devShells = { default = mkShell { buildInputs = [ format update ]; }; };
});
}

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Gleam development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
gleamPkg = pkgs.gleam;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Go 1.17 development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
goPkg = pkgs.go_1_17;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Go 1.18 development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
goPkg = pkgs.go_1_18;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -2,11 +2,13 @@
description =
"A Nix-flake-based development environment for Terraform, Packer, and Nomad";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Haskell development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) cabal-install ghc mkShell;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Java development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
jdk = pkgs.jdk17;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Kotlin development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
jdk = pkgs.jdk17;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Protobuf development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell nickel;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Nim development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell nim;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Nix development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Node.js development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
nodeOverlay = self: super: rec {
nodejs = super.nodejs-18_x;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based OCaml development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Open Policy Agent development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) conftest mkShell open-policy-agent;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Protobuf development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) buf mkShell protobuf;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -52,7 +33,7 @@
"mach-nix": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs",
"pypi-deps-db": "pypi-deps-db"
},
"locked": {
@ -70,22 +51,6 @@
}
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1643805626,
"narHash": "sha256-AXLDVMG+UaAGsGSpOtQHPIKB+IZ0KSd9WS77aanGzgc=",
@ -100,6 +65,21 @@
"type": "indirect"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"pypi-deps-db": {
"flake": false,
"locked": {
@ -118,8 +98,9 @@
},
"root": {
"inputs": {
"dev": "dev",
"mach-nix": "mach-nix"
"flake-utils": "flake-utils",
"mach-nix": "mach-nix",
"nixpkgs": "nixpkgs_2"
}
}
},

View file

@ -2,13 +2,13 @@
description = "A Nix-flake-based Python development environment";
inputs = {
dev.url = "github:the-nix-way/dev-templates";
flake-utils.url = "github:numtide/flake-utils";
mach-nix.url = "github:/DavHau/mach-nix";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev, mach-nix }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, mach-nix, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Ruby development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell;

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -51,16 +32,15 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -83,7 +63,8 @@
},
"root": {
"inputs": {
"dev": "dev",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"rust-overlay": "rust-overlay"
}
},

View file

@ -2,13 +2,13 @@
description = "A Nix-flake-based Rust development environment";
inputs = {
dev.url = "github:the-nix-way/dev-templates";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
rust-overlay.url = "github:oxalica/rust-overlay";
};
outputs = { self, dev, rust-overlay }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs, rust-overlay }:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ (import rust-overlay) ];

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Scala development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
jdk = "jdk17";

View file

@ -1,24 +1,5 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1660405218,
"narHash": "sha256-brLy2+HlzrFwBX5jMCYgtnCXX3gsXPIQlw0k4DjFOvw=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "d66e34d345aaf8e0cbc406483e95cbdb6daa7712",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1659877975,
@ -36,23 +17,23 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1660375717,
"narHash": "sha256-U/wSSm6eMfNoMG2Rq48+KPwJIq8bfuW/qcf5digYZ8g=",
"lastModified": 1660984654,
"narHash": "sha256-fDcsh8rm2o8cj+WFL8Y2cAqnsej0UGJa+Sy8U2nFg0Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "65c15b0a26593a77e65e4212d8d9f58d83844f07",
"rev": "392c83491dcc21d17ab8ea1f809f8f7bd567a5a3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"dev": "dev"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,11 +1,13 @@
{
description = "A Nix-flake-based Zig development environment";
inputs = { dev.url = "github:the-nix-way/dev-templates"; };
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = { self, dev }:
let inherit (dev.lib) flake-utils nixpkgs;
in flake-utils.lib.eachDefaultSystem (system:
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
zigPkg = pkgs.zig;