mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
termplay: use buildFeatures
This commit is contained in:
parent
4b8d8fc923
commit
3d8807a211
@ -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 New Issue
Block a user