summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-26 12:33:22 +0000
committerGitHub <noreply@github.com>2019-11-26 12:33:22 +0000
commitebce2e0c68a48bb9fe2119195832bda11f353c75 (patch)
tree39c6a8cd19f4e74afee3613e2ec9144bfa658a12 /nixos
parent634096c503bf67af5b8ab332e615edc1f5d83d74 (diff)
parenta06529b7adbfe39e06c10d0c539418d130f2fecc (diff)
downloadnixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.tar
nixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.tar.gz
nixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.tar.bz2
nixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.tar.lz
nixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.tar.xz
nixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.tar.zst
nixpkgs-ebce2e0c68a48bb9fe2119195832bda11f353c75.zip
Merge pull request #72584 from andir/homeInPath-false
nixos: default `environment.homeBinInPath` to false
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-2003.xml7
-rw-r--r--nixos/modules/config/shells-environment.nix2
2 files changed, 8 insertions, 1 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml
index 4980a99e646..26311e43405 100644
--- a/nixos/doc/manual/release-notes/rl-2003.xml
+++ b/nixos/doc/manual/release-notes/rl-2003.xml
@@ -186,6 +186,13 @@
      The osquery module has been removed.
     </para>
    </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>
  </section>
 
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index b79e16cd797..a0a20228a74 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -122,7 +122,7 @@ in
       description = ''
         Include ~/bin/ in $PATH.
       '';
-      default = true;
+      default = false;
       type = types.bool;
     };