Implement new flake reference system

This commit is contained in:
Luc Perkins 2022-07-31 12:57:49 +02:00
parent 3e0478c9c4
commit 5f7ae4d7f1
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
27 changed files with 328 additions and 81 deletions

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1659259892,
"narHash": "sha256-ZLqbL2SE3kNUyO15uIqtqmp9XfVMV1FZ7F4vjSJGl9c=",
"lastModified": 1659264167,
"narHash": "sha256-5w5j5xaTX+yNAaYjl2sIB35LWSoDpU0wnxHVx8Kzsro=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d0617b0846cdf6e717f6418adcfe7f834ec20586",
"rev": "3de6a330bcd434d59901c9c7f8fbe252e2207e22",
"type": "github"
},
"original": {

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -63,8 +82,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"dev": "dev",
"rust-overlay": "rust-overlay"
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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

View file

@ -1,5 +1,24 @@
{
"nodes": {
"dev": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1659264500,
"narHash": "sha256-N87HcKMmIW0Gear0aGulCfaY1DSabSSv/FBH5qoVbDg=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "3e0478c9c4a1f32730adf545fd1a2d7099bf6842",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
@ -32,8 +51,7 @@
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"dev": "dev"
}
}
},

View file

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