mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-18 15:39:46 +03:00
nixos: default environment.homeBinInPath
to false
This is a more sane default since we do not magically (without opt-in) pull in binaries from `~/bin`. That is not really an expected behavior for many users. Users that still want that behavior can now just flip that switch.
This commit is contained in:
parent
e5b32b9719
commit
a06529b7ad
2 changed files with 8 additions and 1 deletions
|
@ -186,6 +186,13 @@
|
||||||
The osquery module has been removed.
|
The osquery module has been removed.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Going forward, <literal>~/bin/<literal> in the users home directory will no longer be in <literal>PATH</literal> by default.
|
||||||
|
If you depend on this you should set the option <literal>environment.homeBinInPath</literal> to <literal>true</literal>.
|
||||||
|
The aforementioned option was added this release.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ in
|
||||||
description = ''
|
description = ''
|
||||||
Include ~/bin/ in $PATH.
|
Include ~/bin/ in $PATH.
|
||||||
'';
|
'';
|
||||||
default = true;
|
default = false;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue