From 12893cf3100a916246546b62f2f626f684c0bef1 Mon Sep 17 00:00:00 2001 From: Simon Kennedy Date: Tue, 23 Apr 2024 11:07:53 +0100 Subject: [PATCH] Add the src dir to the python path --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 0e0b681..3a3cdbf 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,9 @@ pkgs.ruff pythonEnv ]; + shellHook = '' + export PYTHONPATH=${builtins.toString ./src} + ''; }; } ));