initial commit

This commit is contained in:
Charlie Root 2025-03-27 11:09:41 +01:00
commit 193ab79228
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
4 changed files with 88 additions and 0 deletions

28
shell.nix Normal file
View file

@ -0,0 +1,28 @@
{
mkShell,
python3Packages,
}: let
inherit (python3Packages) python venvShellHook;
in
mkShell {
name = "impurePythonEnv";
venvDir = "./.venv";
buildInputs = [
python
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
'';
}