zrepl: set release version on build
This commit is contained in:
parent
1e4f051d78
commit
6c5f014da7
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user