Loading pkgs/by-name/go/gopass-jsonapi/package.nix +9 −1 Original line number Diff line number Diff line Loading @@ -4,9 +4,11 @@ buildGoModule, fetchFromGitHub, installShellFiles, writableTmpDirAsHomeHook, jq, gnupg, gopass, versionCheckHook, }: let Loading Loading @@ -39,6 +41,7 @@ buildGoModule (finalAttrs: { nativeBuildInputs = [ installShellFiles makeWrapper writableTmpDirAsHomeHook ]; ldflags = [ Loading @@ -50,7 +53,6 @@ buildGoModule (finalAttrs: { postInstall = '' # Generate native messaging manifests for Chrome and Firefox. export HOME=$(mktemp -d) ${gnupg}/bin/gpg --batch --passphrase "" --quick-generate-key "user <user@localhost>" ${gopass}/bin/gopass setup --name "user" --email "user@localhost" Loading Loading @@ -93,6 +95,12 @@ buildGoModule (finalAttrs: { --prefix PATH : "${gopass.wrapperPath}" ''; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckKeepEnvironment = [ "HOME" ]; meta = { description = "Enables communication with gopass via JSON messages"; homepage = "https://github.com/gopasspw/gopass-jsonapi"; Loading Loading
pkgs/by-name/go/gopass-jsonapi/package.nix +9 −1 Original line number Diff line number Diff line Loading @@ -4,9 +4,11 @@ buildGoModule, fetchFromGitHub, installShellFiles, writableTmpDirAsHomeHook, jq, gnupg, gopass, versionCheckHook, }: let Loading Loading @@ -39,6 +41,7 @@ buildGoModule (finalAttrs: { nativeBuildInputs = [ installShellFiles makeWrapper writableTmpDirAsHomeHook ]; ldflags = [ Loading @@ -50,7 +53,6 @@ buildGoModule (finalAttrs: { postInstall = '' # Generate native messaging manifests for Chrome and Firefox. export HOME=$(mktemp -d) ${gnupg}/bin/gpg --batch --passphrase "" --quick-generate-key "user <user@localhost>" ${gopass}/bin/gopass setup --name "user" --email "user@localhost" Loading Loading @@ -93,6 +95,12 @@ buildGoModule (finalAttrs: { --prefix PATH : "${gopass.wrapperPath}" ''; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckKeepEnvironment = [ "HOME" ]; meta = { description = "Enables communication with gopass via JSON messages"; homepage = "https://github.com/gopasspw/gopass-jsonapi"; Loading