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.
This commit is contained in:
Ricardo M. Correia 2017-01-25 14:49:54 +01:00 committed by Robin Gloster
parent d9987f360a
commit 30c3fdedfe

View file

@ -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 { };