mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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:
parent
3b7b3da906
commit
73ba0ae2de
@ -17,6 +17,7 @@
|
||||
pkgs.ddrescue
|
||||
pkgs.ccrypt
|
||||
pkgs.cryptsetup # needed for dm-crypt volumes
|
||||
pkgs.which # 88K size
|
||||
|
||||
# Some networking tools.
|
||||
pkgs.fuse
|
||||
|
@ -56,7 +56,7 @@ in
|
||||
*/
|
||||
|
||||
shellAliases = mkOption {
|
||||
default = config.environment.shellAliases // { which = "type -P"; };
|
||||
default = config.environment.shellAliases;
|
||||
description = ''
|
||||
Set of aliases for bash shell. See <option>environment.shellAliases</option>
|
||||
for an option format description.
|
||||
|
Loading…
Reference in New Issue
Block a user