refactor(nix): rm now unused imports

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Thomas Mühlbacher 2025-09-25 00:17:28 +00:00 committed by Kent Overstreet
parent 8194e2762c
commit c6050473c4

View File

@ -64,10 +64,6 @@
...
}:
let
inherit (builtins) readFile split;
inherit (lib.lists) findFirst;
inherit (lib.strings) hasPrefix removePrefix substring;
pkgs = import nixpkgs {
inherit system;
overlays = [ (import rust-overlay) ];
@ -76,7 +72,7 @@
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
rustfmtToml = builtins.fromTOML (builtins.readFile ./rustfmt.toml);
rev = self.shortRev or self.dirtyShortRev or (substring 0 8 self.lastModifiedDate);
rev = self.shortRev or self.dirtyShortRev or (lib.substring 0 8 self.lastModifiedDate);
version = "${cargoToml.package.version}+${rev}";
mkCommon =