From cd6457df774d5543ad20716a973163f03ad1988f Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Tue, 9 Jan 2024 17:52:10 +0100 Subject: [PATCH] Flake: read version from Cargo.toml --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7846629..7171ec5 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,7 @@ }; restream-bin = pkgs.stdenv.mkDerivation { name = "restream"; - version = "0.0.1"; + version = (pkgs.lib.importTOML ./Cargo.toml).package.version; src = ./.; nativeBuildInputs = [ pkgs.makeWrapper pkgs.lz4 pkgs.ffmpeg-full ]; buildInputs = [ pkgs.lz4 ];