makeInitrdNG: add meta and update script

This commit is contained in:
Linus Heckemann 2022-07-31 16:15:38 +02:00 committed by K900
parent 6fc909a1cc
commit ee38010981
2 changed files with 12 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -0,0 +1,4 @@
#!/usr/bin/env nix-shell
#!nix-shell -p cargo -i bash
cd "$(dirname "$0")"
cargo update