Merge pull request #84274 from jhillyerd/chezmoi-1718

chezmoi: update build tags to chezmoi 1.7.18 format
This commit is contained in:
Mario Rodas 2020-04-04 19:08:19 -05:00 committed by GitHub
commit b4956dfac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ buildGoModule rec {
modSha256 = "15b3hik3nzb7xnd6806dqdb36v7z2a0wmvxbrfwvnbigd8zd2y0j";
buildFlagsArray = [
"-ldflags=-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr=${version}"
"-ldflags=-s -w -X main.version=${version} -X main.builtBy=nixpkgs"
];
nativeBuildInputs = [ installShellFiles ];