Fight like hell for a local bin
This commit is contained in:
parent
6e5ba95e8e
commit
95e3151508
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@
|
||||||
|
|
||||||
# Add ~/.local/bin/ to $PATH
|
# Add ~/.local/bin/ to $PATH
|
||||||
environment.localBinInPath = true;
|
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.
|
# Needed for Slack but probably helps other stuff too.
|
||||||
# See https://wiki.nixos.org/wiki/Slack
|
# See https://wiki.nixos.org/wiki/Slack
|
||||||
|
|
Loading…
Reference in a new issue