commit
0d72e01d16
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kopia";
|
||||
version = "0.6.0";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0jxl2zq3s3czz52ndq7zbj8liij0519745pbcqaj42x851c1p6mj";
|
||||
sha256 = "1wz4sqjcih1m4bjxxdrsggai931q72zz8ikf2rwkp4alz12wr355";
|
||||
};
|
||||
|
||||
vendorSha256 = "1npxr7gp59xv38zdx1diilfxij6lb0cmvsnzvjx6n8g0326gf2ii";
|
||||
@ -17,6 +17,12 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X github.com/kopia/kopia/repo.BuildVersion=${version}
|
||||
-X github.com/kopia/kopia/repo.BuildInfo=${src.rev}
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
# make 'vendor' writable
|
||||
cp -L -r vendor tmp-vendor
|
||||
|
Loading…
Reference in New Issue
Block a user