From 14f1c369e4219e4168b6ad3c9a468d6edf0b4a1b Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 16 Apr 2023 01:44:00 +0200 Subject: [PATCH] flake.nix: set source from flake input sourceInfo --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 0fdd21c..e1066af 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ];