From 417cf82889717385a335989631752a7b1749cd57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 14 Jun 2025 12:16:12 +0200 Subject: [PATCH] python: Do not rely on source --- hm/dev/python.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hm/dev/python.nix b/hm/dev/python.nix index 1e373ee..e8c3083 100644 --- a/hm/dev/python.nix +++ b/hm/dev/python.nix @@ -11,9 +11,9 @@ python3 python3Packages.ipython ]; - sessionVariables = { - PYTHONSTARTUP = ./pythonstartup.py; - }; + sessionVariables.PYTHONSTARTUP = pkgs.writeText "pythonstartup.py" ( + builtins.readFile ./pythonstartup.py + ); }; programs = { bash.shellAliases = {