cargo-auditable: add nix-update-script
This commit is contained in:
@@ -16,6 +16,7 @@ lib.extendMkDerivation {
|
||||
auditable ? true,
|
||||
hash ? "",
|
||||
cargoHash ? "",
|
||||
passthru ? { },
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -47,7 +48,9 @@ lib.extendMkDerivation {
|
||||
installManPage cargo-auditable/cargo-auditable.1
|
||||
'';
|
||||
|
||||
passthru.bootstrap = auditable-bootstrap;
|
||||
passthru = passthru // {
|
||||
bootstrap = auditable-bootstrap;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Tool to make production Rust binaries auditable";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
buildPackages,
|
||||
callPackage,
|
||||
makeRustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
# Need to use the build platform rustc and Cargo so that
|
||||
@@ -32,4 +33,5 @@ in
|
||||
auditableBuilder {
|
||||
inherit version hash cargoHash;
|
||||
auditable = true;
|
||||
passthru.updateScript = nix-update-script { };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user