package.nix: add clear to $PATH
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user