From 3d8807a211f64a51b096b2b3e6bf20748da8bfa0 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 15 Nov 2021 18:54:12 -0500 Subject: [PATCH] termplay: use buildFeatures --- pkgs/tools/misc/termplay/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/termplay/default.nix b/pkgs/tools/misc/termplay/default.nix index 80c6341f0253..2d493b857fc1 100644 --- a/pkgs/tools/misc/termplay/default.nix +++ b/pkgs/tools/misc/termplay/default.nix @@ -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" '';