termplay: use buildFeatures
This commit is contained in:
parent
4b8d8fc923
commit
3d8807a211
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue