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.
commit30c3fdedfefb2ad991f9dc827f282718e4180e3b
authorRicardo M. Correia <rcorreia@wizy.org>
dateWed 25 Jan 2017, 14:49 (10 years ago)
parentd9987f3
pkgs/top-level/all-packages.nix+1−1
@@ -2838,7 +2838,7 @@ with pkgs;
28382838
28392839 mkcue = callPackage ../tools/cd-dvd/mkcue { };
28402840
2841− mkpasswd = callPackage ../tools/security/mkpasswd { };
2841+ mkpasswd = hiPrio (callPackage ../tools/security/mkpasswd { });
28422842
28432843 mkrand = callPackage ../tools/security/mkrand { };
28442844