diff --git a/pkgs/by-name/lu/lumen/package.nix b/pkgs/by-name/lu/lumen/package.nix index 16f2556b2a10..af26fb66b206 100644 --- a/pkgs/by-name/lu/lumen/package.nix +++ b/pkgs/by-name/lu/lumen/package.nix @@ -2,8 +2,11 @@ lib, rustPlatform, fetchFromGitHub, + makeWrapper, pkg-config, openssl, + fzf, + mdcat, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -26,10 +29,22 @@ rustPlatform.buildRustPackage (finalAttrs: { # use the non-vendored openssl env.OPENSSL_NO_VENDOR = 1; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ + makeWrapper + pkg-config + ]; buildInputs = [ openssl ]; + postFixup = '' + wrapProgram $out/bin/lumen --prefix PATH : ${ + lib.makeBinPath [ + fzf + mdcat + ] + } + ''; + # tests that require a git repository to run checkFlags = [ "--skip=vcs::git::tests::test_get_merge_base_returns_ancestor"