diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-20 11:25:23 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 01:51:07 +0200 |
commit | 0750e47a4d3a7c6a09d1c67348477148847eb87b (patch) | |
tree | d364637f1f4510157e7b2087cf5f26dd19a23184 /pkgs/applications/networking/browsers/firefox/common.nix | |
parent | 1ba9dfbd974616ecf9735742fab179de64065f15 (diff) | |
download | nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.tar nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.tar.gz nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.tar.bz2 nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.tar.lz nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.tar.xz nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.tar.zst nixpkgs-0750e47a4d3a7c6a09d1c67348477148847eb87b.zip |
buildMozillaMach: Clean up Google API key configuration
Use a proper filename that and add the URL where information about requesting API keys can be found.
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/common.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index d4b6046ec08..bb07a21d170 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -294,11 +294,11 @@ buildStdenv.mkDerivation ({ '' + lib.optionalString googleAPISupport '' # Google API key used by Chromium and Firefox. # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, - # please get your own set of keys. - echo "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI" > $TMPDIR/ga + # please get your own set of keys at https://www.chromium.org/developers/how-tos/api-keys/. + echo "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI" > $TMPDIR/google-api-key # 60.5+ & 66+ did split the google API key arguments: https://bugzilla.mozilla.org/show_bug.cgi?id=1531176 - configureFlagsArray+=("--with-google-location-service-api-keyfile=$TMPDIR/ga") - configureFlagsArray+=("--with-google-safebrowsing-api-keyfile=$TMPDIR/ga") + configureFlagsArray+=("--with-google-location-service-api-keyfile=$TMPDIR/google-api-key") + configureFlagsArray+=("--with-google-safebrowsing-api-keyfile=$TMPDIR/google-api-key") '' + lib.optionalString mlsAPISupport '' # Mozilla Location services API key # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, |