diff options
author | Vincent Ambo <mail@tazj.in> | 2021-05-23T13·48+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-05-23T13·58+0000 |
commit | 797212077d197d8e8dbc2377902bb1b4b129ee5b (patch) | |
tree | eb69e258f4d250ab5648ab79d04f40c60acf90a0 | |
parent | c8dff5fc5fa26f550a56fe2866151f5eaa308960 (diff) |
fix(hash-password): Ensure OpenLDAP with correct module is used r/2612
This is fixed in upstream nixpkgs, but we're not yet at a commit where it's used, so it's important to use the OpenLDAP from //third_party Change-Id: I7c033cd23f45a95c4a4af864ffe561c496833a0d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3143 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
-rw-r--r-- | tools/hash-password.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hash-password.nix b/tools/hash-password.nix index 9893d521787e..fcf8abda78ea 100644 --- a/tools/hash-password.nix +++ b/tools/hash-password.nix @@ -1,7 +1,7 @@ # Utility for invoking slappasswd with the correct options for # creating an ARGON2 password hash. -{ pkgs, ... }: +{ depot, pkgs, ... }: pkgs.writeShellScriptBin "hash-password" '' - ${pkgs.openldap}/bin/slappasswd -o module-load=pw-argon2 -h '{ARGON2}' + ${depot.third_party.openldap}/bin/slappasswd -o module-load=pw-argon2 -h '{ARGON2}' '' |