lf: 1 -> 2

This commit is contained in:
Michael Weiss 2018-04-07 01:55:19 +02:00
parent e1da086e75
commit 51e4358cc3

View File

@ -2,13 +2,13 @@
buildGoPackage rec { buildGoPackage rec {
name = "lf-${version}"; name = "lf-${version}";
version = "1"; version = "2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gokcehan"; owner = "gokcehan";
repo = "lf"; repo = "lf";
rev = "r${version}"; rev = "r${version}";
sha256 = "0mq83m7mvavd0dzhk8g6ffldy57i22n0846yzqnlz733chiy3anz"; sha256 = "0g9fy6x3wc5hda886ci79wj7rnjwvaidbwhsrckqgiqymbzvrdb8";
}; };
goPackagePath = "github.com/gokcehan/lf"; goPackagePath = "github.com/gokcehan/lf";
@ -24,7 +24,7 @@ buildGoPackage rec {
runHook preBuild runHook preBuild
runHook renameImports runHook renameImports
cd go/src/${goPackagePath} cd go/src/${goPackagePath}
go install -ldflags="-s -w -X main.gVersion=${version}" go install -ldflags="-s -w -X main.gVersion=r${version}"
runHook postBuild runHook postBuild
''; '';