modules/programs/bash: '/run/current-system/sw' is already a part of $NIX_PROFILES

This commit is contained in:
Peter Simons 2012-10-16 19:07:19 +02:00
parent c7fb0defe6
commit 6a9b855412

View File

@ -15,7 +15,7 @@ let
. "${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh"
nullglobStatus=$(shopt -p nullglob)
shopt -s nullglob
for p in $NIX_PROFILES /run/current-system/sw; do
for p in $NIX_PROFILES; do
for m in "$p/etc/bash_completion.d/"*; do
. $m
done