Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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.

(cherry picked from commit 73ba0ae2de11a2aa610649949c8f0de444c67763)
Signed-off-by: Domen Kožar <domen@dev.si>

+2 -1
+1
nixos/modules/profiles/base.nix
··· 17 17 pkgs.ddrescue 18 18 pkgs.ccrypt 19 19 pkgs.cryptsetup # needed for dm-crypt volumes 20 + pkgs.which # 88K size 20 21 21 22 # Some networking tools. 22 23 pkgs.fuse
+1 -1
nixos/modules/programs/bash/bash.nix
··· 56 56 */ 57 57 58 58 shellAliases = mkOption { 59 - default = config.environment.shellAliases // { which = "type -P"; }; 59 + default = config.environment.shellAliases; 60 60 description = '' 61 61 Set of aliases for bash shell. See <option>environment.shellAliases</option> 62 62 for an option format description.