Commit 1c276021 authored by John Garcia's avatar John Garcia
Browse files

apx: add version to build flags

parent 30177958
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ buildGoModule rec {
  # podman needed for apx to not error when building shell completions
  nativeBuildInputs = [ installShellFiles podman ];

  ldflags = [ "-s" "-w" ];
  ldflags = [ "-s" "-w" "-X 'main.Version=v${version}'" ];

  postPatch = ''
    substituteInPlace config/apx.json \