From 6eefefe1aa73ec21880d247bfb25ca90cab100ec Mon Sep 17 00:00:00 2001 From: Vladyslav M Date: Wed, 15 Jul 2020 23:09:10 +0300 Subject: [PATCH] elvish: 0.13.1 -> 0.14.0 --- pkgs/shells/elvish/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/shells/elvish/default.nix b/pkgs/shells/elvish/default.nix index 2aa23cd063e8..7d9fe0da17cc 100644 --- a/pkgs/shells/elvish/default.nix +++ b/pkgs/shells/elvish/default.nix @@ -2,23 +2,20 @@ buildGoModule rec { pname = "elvish"; - version = "0.13.1"; + version = "0.14.0"; - goPackagePath = "github.com/elves/elvish"; excludedPackages = [ "website" ]; - buildFlagsArray = '' - -ldflags= - -X ${goPackagePath}/buildinfo.Version=${version} - ''; + + buildFlagsArray = [ "-ldflags=-s -w -X github.com/elves/elvish/pkg/buildinfo.Version==${version} -X github.com/elves/elvish/pkg/buildinfo.Reproducible=true" ]; src = fetchFromGitHub { owner = "elves"; repo = pname; rev = "v${version}"; - sha256 = "0lz9lf1swrn67kymcp2wh67lh3c0ifqm9035gpkd3zynlq3wzqfm"; + sha256 = "1jsxhnm82pjzwvcjq7vrlldyjnv5j6c83a13dj6zphlqq99z68l4"; }; - vendorSha256 = null; + vendorSha256 = "1f971n17h9bc0qcgs9ipiaw0x9807mz761fqm605br4ch1kp0897"; meta = with stdenv.lib; { description = "A friendly and expressive command shell"; @@ -36,4 +33,4 @@ buildGoModule rec { passthru = { shellPath = "/bin/elvish"; }; -} \ No newline at end of file +}