package.nix: add clear to $PATH

This commit is contained in:
2026-01-26 02:29:10 +09:00
parent 019f419b12
commit 1d01e1b2cb

View File

@@ -2,6 +2,7 @@
, python3Packages
, makeWrapper
, less
, toybox
}:
let
pyproject = builtins.fromTOML (builtins.readFile ../pyproject.toml);
@@ -31,7 +32,10 @@ python3Packages.buildPythonApplication {
postInstall = ''
wrapProgram $out/bin/dibbler \
--prefix PATH : "${lib.makeBinPath [ less ]}"
--prefix PATH : "${lib.makeBinPath [
less
toybox # Needs `clear`
]}"
'';
meta = {