about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-05-23T13·48+0200
committertazjin <mail@tazj.in>2021-05-23T13·58+0000
commit797212077d197d8e8dbc2377902bb1b4b129ee5b (patch)
treeeb69e258f4d250ab5648ab79d04f40c60acf90a0 /tools
parentc8dff5fc5fa26f550a56fe2866151f5eaa308960 (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>
Diffstat (limited to 'tools')
-rw-r--r--tools/hash-password.nix4
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}'
 ''