Implement new flake reference system
This commit is contained in:
parent
3e0478c9c4
commit
5f7ae4d7f1
27 changed files with 328 additions and 81 deletions
22
gleam/flake.lock
generated
22
gleam/flake.lock
generated
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue