Skip to content

Commit

Permalink
remove nonworking ldflags in flake
Browse files Browse the repository at this point in the history
  • Loading branch information
wlcx committed May 4, 2023
1 parent 6523a30 commit bed8146
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
src = self;
vendorSha256 = "sha256-M8/8fi0JBkUDjhLpur54bv2HzaOEhAIuqZO+oSvkIBk=";

ldflags = ''
-X debanator.Commit=${if self ? rev then self.rev else "dirty"}
'';
# doesn't work
#ldflags = ''
# -X github.com/wlcx/debanator.Commit=${if self ? rev then self.rev else "dirty"}
#'';
};

apps.default = utils.lib.mkApp {drv = packages.default;};
Expand Down

0 comments on commit bed8146

Please sign in to comment.