makeInitrdNG: add meta and update script
This commit is contained in:
parent
6fc909a1cc
commit
ee38010981
2 changed files with 12 additions and 0 deletions
|
@ -6,4 +6,12 @@ rustPlatform.buildRustPackage {
|
|||
|
||||
src = ./make-initrd-ng;
|
||||
cargoLock.lockFile = ./make-initrd-ng/Cargo.lock;
|
||||
|
||||
passthru.updateScript = ./make-initrd-ng/update.sh;
|
||||
|
||||
meta = {
|
||||
description = "Tool for copying binaries and their dependencies";
|
||||
maintainers = with lib.maintainers; [ das_j elvishjerricco k900 lheckemann ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
|
4
pkgs/build-support/kernel/make-initrd-ng/update.sh
Executable file
4
pkgs/build-support/kernel/make-initrd-ng/update.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -p cargo -i bash
|
||||
cd "$(dirname "$0")"
|
||||
cargo update
|
Loading…
Reference in a new issue