cargo-component: add nix-update-script
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
pkg-config,
|
||||
openssl,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -35,6 +36,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Cargo subcommand for creating WebAssembly components based on the component model proposal";
|
||||
homepage = "https://github.com/bytecodealliance/cargo-component";
|
||||
|
||||
Reference in New Issue
Block a user