22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
16 lines
403 B
Nix
16 lines
403 B
Nix
{ rustPlatform, lib, makeWrapper, patchelf, glibc, binutils }:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "make-initrd-ng";
|
|
version = "0.1.0";
|
|
|
|
src = ./make-initrd-ng;
|
|
cargoLock.lockFile = ./make-initrd-ng/Cargo.lock;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/make-initrd-ng \
|
|
--prefix PATH : ${lib.makeBinPath [ patchelf glibc binutils ]}
|
|
'';
|
|
}
|