blob: e8a33bff079314787886d9a332e74c3928ce6ac0 (
plain) (
tree)
|
|
{
lib,
rustPlatform,
makeWrapper,
less,
coreutils,
}:
rustPlatform.buildRustPackage {
pname = "comments";
version = "0.1.0";
src = ./.;
cargoLock = {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/comments \
--set PATH ${lib.makeBinPath [less coreutils]}
'';
}
|