Unverified Commit 891d2116 authored by Herwig Hochleitner's avatar Herwig Hochleitner Committed by GitHub
Browse files

Merge pull request #231740 from bendlas/lldap-extra-tools

lldap: build lldap_set_password and migration-tool
parents d441fbe7 36c70c49
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -90,6 +90,9 @@ let
  });

in rustPlatform.buildRustPackage (commonDerivationAttrs // {

  cargoBuildFlags = [ "-p" "lldap" "-p" "migration-tool" "-p" "lldap_set_password" ];

  patches = [
    ./static-frontend-path.patch
  ];
@@ -98,6 +101,10 @@ in rustPlatform.buildRustPackage (commonDerivationAttrs // {
    substituteInPlace server/src/infra/tcp_server.rs --subst-var-by frontend '${frontend}'
  '';

  postInstall = ''
    mv $out/bin/migration-tool $out/bin/lldap_migration_tool
  '';

  passthru = {
    inherit frontend;
    tests = {