all repos — vite @ 1288aaa9805749352f291b4c270ce5beedcd5763

a fast (this time, actually) and minimal static site generator

shell.nix (view raw)

 1{ pkgs ? (
 2    let
 3      inherit (builtins) fetchTree fromJSON readFile;
 4      inherit ((fromJSON (readFile ./flake.lock)).nodes) nixpkgs gomod2nix;
 5    in
 6    import (fetchTree nixpkgs.locked) {
 7      overlays = [
 8        (import "${fetchTree gomod2nix.locked}/overlay.nix")
 9      ];
10    }
11  )
12}:
13
14let
15  goEnv = pkgs.mkGoEnv { pwd = ./.; };
16in
17pkgs.mkShell {
18  packages = [
19    goEnv
20    pkgs.gomod2nix
21  ];
22}