updat flak

This commit is contained in:
Bloxx12 2025-04-22 17:42:03 +02:00
commit 71c1c36f5e
2 changed files with 11 additions and 7 deletions

View file

@ -2,7 +2,7 @@
mkShell,
python3Packages,
}: let
inherit (python3Packages) python venvShellHook;
inherit (python3Packages) python pyuv venvShellHook;
in
mkShell {
name = "impurePythonEnv";
@ -10,19 +10,23 @@ in
buildInputs = [
python
pyuv
venvShellHook
];
# Run this command, only after creating the virtual environment
postVenvCreation = ''
unset SOURCE_DATE_EPOCH
pip install kathara
'';
# Now we can execute any commands within the virtual environment.
# This is optional and can be left out to run pip manually.
postShellHook = ''
# allow pip to install wheels
unset SOURCE_DATE_EPOCH
alias kat="python -m kathara"
alias ks="python -m kathara lstart"
alias kr="python -m kathara lrestart"
alias kq="python -m kathara lclean"
'';
}