Skip to content

Commit

Permalink
load version from Cargo.lock
Browse files Browse the repository at this point in the history
fixes #148
  • Loading branch information
Mic92 authored and mergify[bot] committed Mar 20, 2024
1 parent 746b633 commit eafe812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Expand Up @@ -2,7 +2,7 @@
let
package = pkgs.rustPlatform.buildRustPackage {
pname = "envfs";
version = "1.0.2";
version = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package.version;
src = packageSrc;

cargoLock.lockFile = ./Cargo.lock;
Expand Down

0 comments on commit eafe812

Please sign in to comment.