cargo-zigbuild: add nix-update-script
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user