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

29
gleam/flake.lock generated
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;