diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-03-23 11:38:40 +0200 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-03-23 11:48:08 +0200 |
commit | a80835a2b0618a635e10712f7036ef0223a16fd7 (patch) | |
tree | d0d2086a5663c36a1423da34d5f4f2b480aab9d7 /pkgs/tools/security/gopass | |
parent | c9183f5905df49ea44f7bd864c6277ba7256fd01 (diff) |
gopass-jsonapi: Don't wrap with gopass
gopass-jsonapi uses gopass' Golang API now, no need for this wrapping.
Diffstat (limited to 'pkgs/tools/security/gopass')
-rw-r--r-- | pkgs/tools/security/gopass/jsonapi.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/pkgs/tools/security/gopass/jsonapi.nix b/pkgs/tools/security/gopass/jsonapi.nix index 7ce9c4cc87095..f77c54530116d 100644 --- a/pkgs/tools/security/gopass/jsonapi.nix +++ b/pkgs/tools/security/gopass/jsonapi.nix @@ -1,9 +1,7 @@ { lib -, makeWrapper , buildGoModule , fetchFromGitHub , installShellFiles -, gopass }: buildGoModule rec { @@ -21,17 +19,12 @@ buildGoModule rec { subPackages = [ "." ]; - nativeBuildInputs = [ installShellFiles makeWrapper ]; + nativeBuildInputs = [ installShellFiles ]; ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}" ]; - postFixup = '' - wrapProgram $out/bin/gopass-jsonapi \ - --prefix PATH : "${lib.makeBinPath [ gopass ]}" - ''; - meta = with lib; { description = "Enables communication with gopass via JSON messages"; homepage = "https://www.gopass.pw/"; |