summary refs log tree commit diff
path: root/nixos/modules/config/system-path.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2016-05-11 10:36:21 +0100
committerDomen Kožar <domen@dev.si>2016-05-11 10:37:46 +0100
commitccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204 (patch)
tree4359b5d95ca518aa0891932e279193bc4dc8f0aa /nixos/modules/config/system-path.nix
parent95c7dd7af9334a77c84c22326b25a0ff1a036084 (diff)
downloadnixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.tar
nixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.tar.gz
nixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.tar.bz2
nixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.tar.lz
nixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.tar.xz
nixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.tar.zst
nixpkgs-ccbcf1b6c2af2fed7caae2de5e62ebe0ddb73204.zip
nixos: require pkgs.which
This properly implements revert in
0729f606973870c03d21bb2f21b70d91216943ca.

We used to have which='type -P' alias, but really it's best to just
rely on which package, only 88K in size.

cc @edolstra
Diffstat (limited to 'nixos/modules/config/system-path.nix')
-rw-r--r--nixos/modules/config/system-path.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix
index d7815324c4c..0e0a9203d38 100644
--- a/nixos/modules/config/system-path.nix
+++ b/nixos/modules/config/system-path.nix
@@ -40,6 +40,7 @@ let
       pkgs.time
       pkgs.texinfoInteractive
       pkgs.utillinux
+      pkgs.which # 88K size
     ];
 
 in