mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #231740 from bendlas/lldap-extra-tools
lldap: build lldap_set_password and migration-tool
This commit is contained in:
commit
891d21166f
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user