Merge pull request #39009 from etu/browserpass-fix
browserpass: fix gnupg dependency issue
This commit is contained in:
commit
6bad8ddc82
@ -1,5 +1,5 @@
|
|||||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoPackage, fetchFromGitHub, gnupg }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "browserpass-${version}";
|
name = "browserpass-${version}";
|
||||||
@ -16,6 +16,11 @@ buildGoPackage rec {
|
|||||||
sha256 = "0wszjpxfa0krr2zdx7a33vl1r86k74dpy5c940r6ww1zbgqzcibg";
|
sha256 = "0wszjpxfa0krr2zdx7a33vl1r86k74dpy5c940r6ww1zbgqzcibg";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace browserpass.go \
|
||||||
|
--replace /usr/local/bin/gpg ${gnupg}/bin/gpg
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
host_file="$bin/bin/browserpass"
|
host_file="$bin/bin/browserpass"
|
||||||
mkdir -p "$bin/etc"
|
mkdir -p "$bin/etc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user