Fight like hell for a local bin

This commit is contained in:
benjamin melançon 2024-12-03 23:13:03 -05:00
parent 6e5ba95e8e
commit 95e3151508

View file

@ -89,6 +89,11 @@
# Add ~/.local/bin/ to $PATH
environment.localBinInPath = true;
environment.homeBinInPath = true;
# Only this works, from https://github.com/NixOS/nixpkgs/issues/157383#issuecomment-1186081648
environment.shellInit = ''
export PATH="$PATH:$HOME/.local/bin"
'';
# Needed for Slack but probably helps other stuff too.
# See https://wiki.nixos.org/wiki/Slack