Compare commits

..

1 commit

Author SHA1 Message Date
d4997ba0c1
refactor: clean up scripts
Some checks failed
/ check (push) Successful in 8s
/ check-renovaterc (push) Successful in 3s
/ build-packages (push) Failing after 1s
/ build-vm (push) Has been skipped
/ report-size (push) Has been skipped
Tidy up the script logic and deduplicate it a bit.
2025-05-16 19:05:08 +02:00
2 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,8 @@
{ lib, rustPlatform, cleanRustSrc }:
{
lib,
rustPlatform,
cleanRustSrc,
}:
let
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
inherit (cargoToml.package) name version description;

View file

@ -1,4 +1,8 @@
{ lib, rustPlatform, cleanRustSrc }:
{
lib,
rustPlatform,
cleanRustSrc,
}:
let
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
inherit (cargoToml.package) name version description;