web frontend for git repositories, written in Go git.pocka.jp/legit.git
3

Configure Feed

Select the types of activity you want to include in your feed.

Set "meta.mainProgram" in Nix derivation

Nix outputs warning message when **user** calls "lib.getExe" on this
package.

---

evaluation warning: getExe: Package legit does not have the meta.mainProgram
attribute. We'll assume that the main program has the same name for now, but
this behavior is deprecated, because it leads to surprising errors when the
assumption does not hold. If the package has a main program, please set
`meta.mainProgram` in its definition to make this warning go away. Otherwise,
if the package does not have a main program, or if you don't control its
definition, use getExe' to specify the name to the program, such as
lib.getExe' foo "bar".

Shota FUJI (Jul 12, 2026, 11:32 PM +0900) afb93b77 912daf3f

+2
+2
flake.nix
··· 43 43 src = ./.; 44 44 45 45 vendorHash = "sha256-GR+ddG6058s9NDGwbk2z86vcOIa11DUQqP6tS0ruUdo="; 46 + 47 + meta.mainProgram = "legit"; 46 48 }; 47 49 48 50 default = legit;