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": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -63,8 +82,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev",
"nixpkgs": "nixpkgs",
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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

View file

@ -1,5 +1,24 @@
{ {
"nodes": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -32,8 +51,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "dev": "dev"
"nixpkgs": "nixpkgs"
} }
} }
}, },

View file

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