From f922ea906fdae9c7b1a6f2f0ae1784feefd1244f 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; };