Skip to content

Commit

Permalink
nitpick: date comment
Browse files Browse the repository at this point in the history
(will squash these once review is done.)
  • Loading branch information
cryptix committed Sep 5, 2018
1 parent 205a656 commit b096895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/misc/systrayhelper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ buildGoPackage rec {

goDeps = ./deps.nix;

# -X main.date=${date +%F}?
# re date: https://github.com/NixOS/nixpkgs/pull/45997#issuecomment-418186178
# > .. keep the derivation deterministic. Otherwise, we would have to rebuild it every time.
buildFlagsArray = [ ''-ldflags=
-X main.version=v${version}
-X main.commit=${rev}
-X main.date="nix-byrev"
-s
-w
'' ];
Expand Down

0 comments on commit b096895

Please sign in to comment.