diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-17 21:06:03 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-17 21:06:03 +0900 |
| commit | 825bf24731bea0e1738953a1b903529cedf7ca3c (patch) | |
| tree | 8ca9845c07a44b164d96faea3fd197fb203c2e37 | |
| parent | 08112f0b906947bbaf82e450b19c5e0ea8b3fb4d (diff) | |
nix: read version from cmd/dist
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | package.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.nix b/package.nix index ff0d7a07..d426bf6c 100644 --- a/package.nix +++ b/package.nix @@ -34,7 +34,7 @@ buildGo126Module rec { pname = "hakurei"; - version = "0.4.3"; + version = with lib.strings; removePrefix "v" (trim (builtins.readFile ./cmd/dist/VERSION)); srcFiltered = builtins.path { name = "${pname}-src"; |
