termplay: use buildFeatures

This commit is contained in:
figsoda 2021-11-15 18:54:12 -05:00
parent 4b8d8fc923
commit 3d8807a211

View file

@ -11,7 +11,6 @@ rustPlatform.buildRustPackage rec {
sha256 = "1w7hdqgqr1jgxid3k7f2j52wz31gv8bzr9rsm6xzp7nnihp6i45p";
};
cargoBuildFlags = ["--features" "bin"];
cargoSha256 = "08ip6x4kink244majlk595yh551c2ap3ry58wly994mh8wf6ifwb";
nativeBuildInputs = [ makeWrapper ];
@ -24,6 +23,8 @@ rustPlatform.buildRustPackage rec {
libsixel
];
buildFeatures = [ "bin" ];
postInstall = ''
wrapProgram $out/bin/termplay --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
'';