diff options
-rw-r--r-- | pkgs/tools/backup/zrepl/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/backup/zrepl/default.nix b/pkgs/tools/backup/zrepl/default.nix index 0bbc7267af80f..e709470431947 100644 --- a/pkgs/tools/backup/zrepl/default.nix +++ b/pkgs/tools/backup/zrepl/default.nix @@ -24,6 +24,8 @@ buildGoModule rec { makeWrapper ]; + ldflags = [ "-X github.com/zrepl/zrepl/version.zreplVersion=${version}" ]; + postInstall = '' mkdir -p $out/lib/systemd/system substitute dist/systemd/zrepl.service $out/lib/systemd/system/zrepl.service \ |