diff --git a/flake.lock b/flake.lock index 957dc1d..f6d3540 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1742889210, - "narHash": "sha256-hw63HnwnqU3ZQfsMclLhMvOezpM7RSB0dMAtD5/sOiw=", + "lastModified": 1743315132, + "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "698214a32beb4f4c8e3942372c694f40848b360d", + "rev": "52faf482a3889b7619003c0daec593a1912fddc1", "type": "github" }, "original": { diff --git a/shell.nix b/shell.nix index 07c89e2..313db5a 100644 --- a/shell.nix +++ b/shell.nix @@ -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" ''; }