lgogdownloader: disable GUI by default and enable build on darwin (#396299)

This commit is contained in:
0x4A6F
2025-08-03 18:50:46 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -16,7 +16,7 @@
libsForQt5,
testers,
enableGui ? true,
enableGui ? false,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -63,7 +63,9 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "lgogdownloader";
homepage = "https://github.com/Sude-/lgogdownloader";
license = lib.licenses.wtfpl;
# qtbase requires a sandbox profile with read access to /usr/share/icu.
# To prevent build failures in CI, we disable Darwin support when the GUI is enabled.
platforms = lib.platforms.linux ++ lib.optionals (!enableGui) lib.platforms.darwin;
maintainers = with lib.maintainers; [ _0x4A6F ];
platforms = lib.platforms.linux;
};
})
+2
View File
@@ -2259,6 +2259,8 @@ with pkgs;
lexicon = with python3Packages; toPythonApplication dns-lexicon;
lgogdownloader-gui = callPackage ../by-name/lg/lgogdownloader/package.nix { enableGui = true; };
# Less secure variant of lowdown for use inside Nix builds.
lowdown-unsandboxed = lowdown.override {
enableDarwinSandbox = false;