lgogdownloader: disable GUI by default and enable build on darwin (#396299)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user