mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
makeInitrdNG: add meta and update script
This commit is contained in:
parent
6fc909a1cc
commit
ee38010981
@ -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 New Issue
Block a user