Skip to content

Commit

Permalink
Flake: read version from Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rien committed Jan 9, 2024
1 parent 1f551c4 commit cd6457d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit cd6457d

Please sign in to comment.