fixed parrot

This commit is contained in:
Gerg-L 2023-07-03 22:31:50 -04:00
parent a58ba87955
commit 6470edba71

View file

@ -21,6 +21,8 @@ rustPlatform.buildRustPackage
hash = "sha256-f6YAdsq2ecsOCvk+A8wsUu+ywQnW//gCAkVLF0HTn8c="; hash = "sha256-f6YAdsq2ecsOCvk+A8wsUu+ywQnW//gCAkVLF0HTn8c=";
}; };
cargoHash = "sha256-e4NHgwoNkZ0//rugHrP0gU3pntaMeBJsV/YSzJfD8r4=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
cmake cmake
@ -34,11 +36,9 @@ rustPlatform.buildRustPackage
postInstall = '' postInstall = ''
wrapProgram $out/bin/parrot \ wrapProgram $out/bin/parrot \
--prefix PATH ${lib.makeBinPath [ --prefix PATH : ${lib.makeBinPath [
yt-dlp yt-dlp
ffmpeg ffmpeg
]}''; ]}
'';
cargoHash = "sha256-e4NHgwoNkZ0//rugHrP0gU3pntaMeBJsV/YSzJfD8r4=";
RUSTC_BOOTSTRAP = 1;
} }