commit
77fd145f40
@ -1,5 +1,8 @@
|
|||||||
{ stdenv, makeWrapper
|
{ stdenv
|
||||||
, buildGoModule, fetchFromGitHub, installShellFiles
|
, makeWrapper
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
, git
|
, git
|
||||||
, gnupg
|
, gnupg
|
||||||
, xclip
|
, xclip
|
||||||
@ -26,11 +29,13 @@ buildGoModule rec {
|
|||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
|
||||||
|
|
||||||
wrapperPath = stdenv.lib.makeBinPath ([
|
wrapperPath = stdenv.lib.makeBinPath (
|
||||||
|
[
|
||||||
git
|
git
|
||||||
gnupg
|
gnupg
|
||||||
xclip
|
xclip
|
||||||
] ++ stdenv.lib.optional stdenv.isLinux wl-clipboard);
|
] ++ stdenv.lib.optional stdenv.isLinux wl-clipboard
|
||||||
|
);
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user