From 455e30eb02ca15a2539b340e5c7ce9e19ac01330 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Wed, 20 Mar 2024 17:17:45 +0100 Subject: [PATCH] fix: Python environment for the FIT VUT server merlin --- zsh.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/zsh.nix b/zsh.nix index 1e38011..c5a0292 100755 --- a/zsh.nix +++ b/zsh.nix @@ -167,6 +167,12 @@ # histFile = "${config.xdg.cacheHome}/zhistory"; }; + if [ $(hostname) == "merlin.fit.vutbr.cz" ]; then + for f in ${trash-cli}/bin*; do + makeWrapper $out/bin/$(basename $f) $f --unset PYTHONHOME + done + fi + home.packages = with pkgs; [ tldr lsd @@ -181,4 +187,11 @@ p7zip # ex gzip # ex ]; + + for f in ${trash-cli}/bin*; do + makeWrapper $out/bin/$(basename $f) $f --unset PYTHONHOME + done + for f in ${thefuck}/bin*; do + makeWrapper $out/bin/$(basename $f) $f --unset PYTHONHOME + done }