jotdown: add cli feature

derivation is currently empty, cli feature is required to produce binary
since version 0.10:

    https://github.com/hellux/jotdown/releases/tag/0.10.0
This commit is contained in:
Noah Hellman
2026-05-06 17:21:35 +02:00
parent 9841bd4eb6
commit 957cb8c0e6

View File

@@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -16,6 +17,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
};
cargoHash = "sha256-yuzjyP1iy6pgUJev1dJPjU85A3W5n7G2B+Pa1R47KiQ=";
buildFeatures = [ "cli" ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "Minimal Djot CLI";