initial version

flake largely copied from the new birdtown-visit-counter
This commit is contained in:
Alexander Khodyrev 2024-09-14 11:10:27 +03:00
commit 22020ba873
9 changed files with 426 additions and 0 deletions

21
default.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs ? (
let
inherit (builtins) fetchTree fromJSON readFile;
inherit ((fromJSON (readFile ./flake.lock)).nodes) nixpkgs gomod2nix;
in
import (fetchTree nixpkgs.locked) {
overlays = [
(import "${fetchTree gomod2nix.locked}/overlay.nix")
];
}
)
, buildGoApplication ? pkgs.buildGoApplication
}:
buildGoApplication {
pname = "birdtown-leaderboard";
version = "0.1";
pwd = ./.;
src = ./.;
modules = ./gomod2nix.toml;
}