From 797212077d197d8e8dbc2377902bb1b4b129ee5b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 23 May 2021 15:48:02 +0200 Subject: fix(hash-password): Ensure OpenLDAP with correct module is used 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 --- tools/hash-password.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/hash-password.nix b/tools/hash-password.nix index 9893d52178..fcf8abda78 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}' '' -- cgit 1.4.1