nix: add flake check that makes sure it builds with all flags

Because sometimes an import might be missing, and if it is an optional
then you'll only figure out that it's broken if you set the flag.
This commit is contained in:
Tom van Dijk 2025-07-28 13:42:20 +02:00
parent 6599f6da7e
commit 4f1ca5c480
No known key found for this signature in database
GPG key ID: 7A984C8207ADBA51

View file

@ -38,6 +38,19 @@
};
in
{
# check that copyparty builds with all optionals turned on
checks.copyparty-full = self.packages.${system}.copyparty.override {
withHashedPasswords = true;
withCertgen = true;
withThumbnails = true;
withFastThumbnails = true;
withMediaProcessing = true;
withBasicAudioMetadata = true;
withZeroMQ = true;
withFTPS = true;
withSMB = true;
};
packages = {
inherit (pkgs)
copyparty