mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-28 06:41:01 +00:00
flake.nix: let version fall back to "0-dirty"
This commit is contained in:
parent
a098ed6472
commit
225fce2acc
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
in
|
||||
naersk-lib.buildPackage {
|
||||
pname = "buzzrelay";
|
||||
version = with self; "${toString revCount}-${shortRev}";
|
||||
version = "${toString (self.sourceInfo.revCount or 0)}-${self.sourceInfo.shortRev or "dirty"}";
|
||||
root = ./.;
|
||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||
buildInputs = with pkgs; [ openssl systemd ];
|
||||
|
|
Loading…
Reference in a new issue