diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3ba74f439b78..fdba52e7b39f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -25288,6 +25288,11 @@ githubId = 20484159; keys = [ { fingerprint = "F246 425A 7650 6F37 0552 BA8D DEA9 C405 09D9 65F5"; } ]; }; + squishykid = { + github = "squishykid"; + githubId = 2177912; + name = "squishykid"; + }; srgom = { github = "SRGOM"; githubId = 8103619; diff --git a/pkgs/by-name/en/entire/package.nix b/pkgs/by-name/en/entire/package.nix index fc16fa0e2833..d4788d2bf6f0 100644 --- a/pkgs/by-name/en/entire/package.nix +++ b/pkgs/by-name/en/entire/package.nix @@ -5,6 +5,7 @@ installShellFiles, git, stdenv, + writableTmpDirAsHomeHook, }: buildGoModule (finalAttrs: { @@ -29,11 +30,16 @@ buildGoModule (finalAttrs: { ldflags = [ "-s" "-w" + "-X=github.com/entireio/cli/cmd/entire/cli/buildinfo.Version=${finalAttrs.version}" + "-X=github.com/entireio/cli/cmd/entire/cli/buildinfo.Commit=${finalAttrs.src.rev}" ]; nativeBuildInputs = [ installShellFiles ]; - nativeCheckInputs = [ git ]; + nativeCheckInputs = [ + git + writableTmpDirAsHomeHook + ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd entire \ @@ -50,9 +56,12 @@ buildGoModule (finalAttrs: { of how code was written in your repo. ''; homepage = "https://github.com/entireio/cli"; - changelog = "https://github.com/entireio/cli/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/entireio/cli/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ sheeeng ]; + maintainers = with lib.maintainers; [ + sheeeng + squishykid + ]; mainProgram = "entire"; }; })