Skip to content

Commit

Permalink
shadowfox: Add ldflags
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
doronbehar committed Sep 12, 2020
1 parent 1435f5b commit c1f4bf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/networking/shadowfox/default.nix
Expand Up @@ -15,7 +15,9 @@ buildGoModule rec {

doCheck = false;

buildFlags = [ "--tags" "release" ];
buildFlagsArray = [
"-ldflags=-X main.tag=v${version}"
];

meta = with stdenv.lib; {
description = ''
Expand Down

0 comments on commit c1f4bf7

Please sign in to comment.