python: Do not rely on source

This commit is contained in:
Geoffrey Frogeye 2025-06-14 12:16:12 +02:00
parent d844dd1b2b
commit 417cf82889

View file

@ -11,9 +11,9 @@
python3
python3Packages.ipython
];
sessionVariables = {
PYTHONSTARTUP = ./pythonstartup.py;
};
sessionVariables.PYTHONSTARTUP = pkgs.writeText "pythonstartup.py" (
builtins.readFile ./pythonstartup.py
);
};
programs = {
bash.shellAliases = {