From 34cdbf0c7f29519e8558bee0ab1a64ca00adcf89 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 28 Oct 2024 18:05:59 +0800 Subject: [PATCH] PYTHON Shell --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index e44286d..64f69e3 100644 --- a/flake.nix +++ b/flake.nix @@ -83,6 +83,9 @@ numpy matplotlib ]); + shellHook = '' + export PYTHONPATH=`pwd`/pytec:$PYTHONPATH + ''; }; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;