flake.nix: set source from flake input sourceInfo

This commit is contained in:
Astro 2023-04-16 01:44:00 +02:00
parent 2b104eb71c
commit 14f1c369e4

View file

@ -17,6 +17,7 @@
in
naersk-lib.buildPackage {
pname = "buzzrelay";
version = with self.sourceInfo; "${toString revCount}-${shortRev}";
root = ./.;
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl systemd ];