fix: Python environment for the FIT VUT server merlin

This commit is contained in:
Jiří Štefka 2024-03-20 17:17:45 +01:00
parent 4aeb185e44
commit 455e30eb02
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

13
zsh.nix

@ -167,6 +167,12 @@
# histFile = "${config.xdg.cacheHome}/zhistory"; # 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; [ home.packages = with pkgs; [
tldr tldr
lsd lsd
@ -181,4 +187,11 @@
p7zip # ex p7zip # ex
gzip # 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
} }