mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Add configuration flag to chromium: hiDPISupport
By default, hiDPISupport is disabled.
This commit is contained in:
parent
f904ca14a2
commit
1f28161a41
3 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
, proprietaryCodecs ? true
|
, proprietaryCodecs ? true
|
||||||
, cupsSupport ? false
|
, cupsSupport ? false
|
||||||
, pulseSupport ? false, pulseaudio ? null
|
, pulseSupport ? false, pulseaudio ? null
|
||||||
|
, hiDPISupport ? false
|
||||||
|
|
||||||
, source
|
, source
|
||||||
, plugins
|
, plugins
|
||||||
|
@ -162,6 +163,7 @@ let
|
||||||
linux_sandbox_chrome_path="${libExecPath}/${packageName}";
|
linux_sandbox_chrome_path="${libExecPath}/${packageName}";
|
||||||
werror = "";
|
werror = "";
|
||||||
clang = false;
|
clang = false;
|
||||||
|
enable_hidpi = hiDPISupport;
|
||||||
|
|
||||||
# Google API keys, see:
|
# Google API keys, see:
|
||||||
# http://www.chromium.org/developers/how-tos/api-keys
|
# http://www.chromium.org/developers/how-tos/api-keys
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
, enablePepperPDF ? false
|
, enablePepperPDF ? false
|
||||||
, cupsSupport ? false
|
, cupsSupport ? false
|
||||||
, pulseSupport ? false
|
, pulseSupport ? false
|
||||||
|
, hiDPISupport ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -27,7 +28,7 @@ let
|
||||||
mkChromiumDerivation = callPackage ./common.nix {
|
mkChromiumDerivation = callPackage ./common.nix {
|
||||||
inherit enableSELinux enableNaCl useOpenSSL gnomeSupport
|
inherit enableSELinux enableNaCl useOpenSSL gnomeSupport
|
||||||
gnomeKeyringSupport proprietaryCodecs cupsSupport
|
gnomeKeyringSupport proprietaryCodecs cupsSupport
|
||||||
pulseSupport;
|
pulseSupport hiDPISupport;
|
||||||
};
|
};
|
||||||
|
|
||||||
browser = callPackage ./browser.nix { };
|
browser = callPackage ./browser.nix { };
|
||||||
|
|
|
@ -8522,6 +8522,7 @@ let
|
||||||
pulseSupport = config.pulseaudio or true;
|
pulseSupport = config.pulseaudio or true;
|
||||||
enablePepperFlash = config.chromium.enablePepperFlash or false;
|
enablePepperFlash = config.chromium.enablePepperFlash or false;
|
||||||
enablePepperPDF = config.chromium.enablePepperPDF or false;
|
enablePepperPDF = config.chromium.enablePepperPDF or false;
|
||||||
|
hiDPISupport = config.chromium.hiDPISupport or false;
|
||||||
};
|
};
|
||||||
|
|
||||||
chromiumBeta = lowPrio (chromium.override { channel = "beta"; });
|
chromiumBeta = lowPrio (chromium.override { channel = "beta"; });
|
||||||
|
|
Loading…
Reference in a new issue