From 73c29338afa16e4bcdeceb1301d8e1d6d05902ad Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 23 Aug 2024 10:59:10 +0800 Subject: [PATCH] PYTHON shell --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index eaeb561..ac89180 100644 --- a/flake.nix +++ b/flake.nix @@ -159,6 +159,9 @@ pglive qtextras ]); + shellHook = '' + export PYTHONPATH=`pwd`/pytec:$PYTHONPATH + ''; }; defaultPackage.x86_64-linux = thermostat; };