Merge pull request #256974 from laalsaas/soju

Soju: various refactors
This commit is contained in:
Azat Bahawi 2023-09-27 01:43:19 +03:00 committed by GitHub
commit 543f3fe163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,13 +18,6 @@ buildGoModule rec {
vendorHash = "sha256-iT/QMm6RM6kvw69Az+aLTtBuaCX7ELAiYlj5wXAtBd4=";
subPackages = [
"cmd/soju"
"cmd/sojuctl"
"contrib/migrate-db"
"contrib/znc-import"
];
nativeBuildInputs = [
installShellFiles
scdoc
@ -33,17 +26,14 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ];
postBuild = ''
make doc/soju.1
make doc/soju.1 doc/sojuctl.1
'';
postInstall = ''
installManPage doc/soju.1
installManPage doc/soju.1 doc/sojuctl.1
'';
preCheck = ''
# Test all targets.
unset subPackages
# Disable a test that requires an additional service.
rm database/postgres_test.go
'';