From a7aa78a608be9225104c377917dbacf8d77e16fe Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 28 Oct 2024 18:05:59 +0800 Subject: [PATCH] flake: Introduce pytec to PYTHONPATH in devShell For easier testing of pytec client code in the shell. --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 41410ef..42d143a 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,9 @@ ] ++ (with python3Packages; [ numpy matplotlib ]); + shellHook = '' + export PYTHONPATH=`pwd`/pytec:$PYTHONPATH + ''; }; }; } \ No newline at end of file