shadowfox: Add ldflags

shadowfox-updater compares the version of itself with that of the latest
version released upon startup. If it doesn't know it's own version, this
comparison always falsely leads to it suggesting the user to update it
upon startup, where in fact it is updated. This is a confusing behavior
only NixOS users suffer and now it's solved.
This commit is contained in:
Doron Behar 2020-09-13 00:36:03 +03:00
parent 1435f5be15
commit c1f4bf78a8

View File

@ -15,7 +15,9 @@ buildGoModule rec {
doCheck = false; doCheck = false;
buildFlags = [ "--tags" "release" ]; buildFlagsArray = [
"-ldflags=-X main.tag=v${version}"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = '' description = ''