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

whoami: add installCheck

parent 1b6b33df
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -22,6 +22,15 @@ buildGoModule (finalAttrs: {

  env.CGO_ENABLED = 0;

  doInstallCheck = true;
  installCheckPhase = ''
    runHook preInstallCheck

    $out/bin/whoami --help 2> /dev/null

    runHook postInstallCheck
  '';

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

  meta = {