pkgs/gotosocial: set the gts version strings

This commit is contained in:
Aaron Bieber 2022-09-19 13:36:42 -06:00
parent 0d5b6e91b8
commit 66d9d27479
No known key found for this signature in database

View File

@ -18,16 +18,18 @@ buildGoModule rec {
hash = "sha256-HSpelOS5UMMmxVU6NOAz6iYqtboAY0yTmK7/73RtpME=";
};
#doCheck = false;
ldflags = [
"-s"
"-w"
"-extldflags '-static'"
"-X 'main.Commit=${version}'"
"-X 'main.Version=${version}'"
];
#ldflags = [ "-X github.com/gomods/athens/pkg/build.version=${version}" ];
#nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper go ];
propagatedBuildInputs = [ ffmpeg ];
proxyVendor = false;
#subPackages = [ "cmd/proxy" ];
vendorSha256 = null;
postInstall = ''