commit
df4a9849fe
@ -1,4 +1,9 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, openssh, makeWrapper }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, openssh
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "assh";
|
||||
@ -15,6 +20,10 @@ buildGoModule rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w -X moul.io/assh/v2/pkg/version.Version=${version}")
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user