pkgs/gotosocial: set the gts version strings
This commit is contained in:
parent
0d5b6e91b8
commit
66d9d27479
@ -18,16 +18,18 @@ buildGoModule rec {
|
|||||||
hash = "sha256-HSpelOS5UMMmxVU6NOAz6iYqtboAY0yTmK7/73RtpME=";
|
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}" ];
|
propagatedBuildInputs = [ ffmpeg ];
|
||||||
|
|
||||||
#nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper go ];
|
|
||||||
|
|
||||||
proxyVendor = false;
|
proxyVendor = false;
|
||||||
|
|
||||||
#subPackages = [ "cmd/proxy" ];
|
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user