mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
cargo-auditable: add nix-update-script
(cherry picked from commit 5cd317d2da)
This commit is contained in:
parent
87a1f6a2bd
commit
28a915286d
2 changed files with 6 additions and 1 deletions
|
|
@ -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 { };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue