remove nonworking ldflags in flake

This commit is contained in:
Sam W 2023-05-05 00:06:18 +01:00
parent 6523a30bf5
commit bed814641e
1 changed files with 4 additions and 3 deletions

View File

@ -22,9 +22,10 @@
src = self; src = self;
vendorSha256 = "sha256-M8/8fi0JBkUDjhLpur54bv2HzaOEhAIuqZO+oSvkIBk="; vendorSha256 = "sha256-M8/8fi0JBkUDjhLpur54bv2HzaOEhAIuqZO+oSvkIBk=";
ldflags = '' # doesn't work
-X debanator.Commit=${if self ? rev then self.rev else "dirty"} #ldflags = ''
''; # -X github.com/wlcx/debanator.Commit=${if self ? rev then self.rev else "dirty"}
#'';
}; };
apps.default = utils.lib.mkApp {drv = packages.default;}; apps.default = utils.lib.mkApp {drv = packages.default;};