Skip to content

Commit

Permalink
fix: setting build Name and Version
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed Feb 28, 2024
1 parent 2ad87c2 commit 49596b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
ldflags = [
"-s"
"-w"
"-X 'build.Name=${pname}'"
"-X 'build.Version=${version}'"
"-X git.numtide.com/numtide/treefmt/build.Name=${pname}"
"-X git.numtide.com/numtide/treefmt/build.Version=v${version}"
];

nativeBuildInputs =
Expand Down

0 comments on commit 49596b8

Please sign in to comment.