Remove which -> type -P alias.

Aliases are not the same as programs. They won't work in subshells.
It's better to just use which as it's only 88K.
This commit is contained in:
Domen Kožar 2016-03-03 16:15:25 +00:00
parent 3b7b3da906
commit 73ba0ae2de
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
pkgs.ddrescue pkgs.ddrescue
pkgs.ccrypt pkgs.ccrypt
pkgs.cryptsetup # needed for dm-crypt volumes pkgs.cryptsetup # needed for dm-crypt volumes
pkgs.which # 88K size
# Some networking tools. # Some networking tools.
pkgs.fuse pkgs.fuse

View File

@ -56,7 +56,7 @@ in
*/ */
shellAliases = mkOption { shellAliases = mkOption {
default = config.environment.shellAliases // { which = "type -P"; }; default = config.environment.shellAliases;
description = '' description = ''
Set of aliases for bash shell. See <option>environment.shellAliases</option> Set of aliases for bash shell. See <option>environment.shellAliases</option>
for an option format description. for an option format description.