From 30c3fdedfefb2ad991f9dc827f282718e4180e3b Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Wed, 25 Jan 2017 14:49:54 +0100 Subject: mkpasswd: make the package high priority Otherwise, if you have the `expect` package installed, its `mkpasswd` program can override the one from the `mkpasswd` package. If that happens, the NixOS documentation instructions for generating a hashed password to put into `configuration.nix` will not work. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f6c300a5b2b8..3e1a5dec32cb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2838,7 +2838,7 @@ with pkgs; mkcue = callPackage ../tools/cd-dvd/mkcue { }; - mkpasswd = callPackage ../tools/security/mkpasswd { }; + mkpasswd = hiPrio (callPackage ../tools/security/mkpasswd { }); mkrand = callPackage ../tools/security/mkrand { }; -- cgit 1.4.1