From f5ac429c7718e09b8bee888909fc48ac0281c0aa Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 28 Dec 2024 17:36:49 +0000 Subject: [PATCH] feat: parse cargo --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b550507..f0c4756 100644 --- a/flake.nix +++ b/flake.nix @@ -100,8 +100,7 @@ throw (envErrorMessage varName); # -- Cargo.toml -- - getVersion = src: (builtins.fromTOML (builtins.readFile "${src}/Cargo.toml")).package.version; - + cargo = src: (builtins.fromTOML (builtins.readFile "${src}/Cargo.toml")); }; }; }