cargo-zigbuild: add nix-update-script

This commit is contained in:
Petr Portnov
2025-12-04 18:31:46 +03:00
parent 42d41382ce
commit 7b5ab1da3d
@@ -5,6 +5,7 @@
makeWrapper,
zig,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -31,6 +32,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool to compile Cargo projects with zig as the linker";
mainProgram = "cargo-zigbuild";