Unverified Commit e35096c0 authored by Defelo's avatar Defelo
Browse files

whoami: add updateScript

parent 171d8dd2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildGoModule,
  fetchFromGitHub,
  nix-update-script,
}:

buildGoModule (finalAttrs: {
@@ -21,6 +22,8 @@ buildGoModule (finalAttrs: {

  env.CGO_ENABLED = 0;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Tiny Go server that prints os information and HTTP request to output";
    mainProgram = "whoami";