Skip to content

Commit

Permalink
firefox: updated common.nix to support ffx64
Browse files Browse the repository at this point in the history
  • Loading branch information
andir committed Dec 11, 2018
1 parent acf738b commit 93a9e62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/networking/browsers/firefox/common.nix
Expand Up @@ -168,6 +168,10 @@ stdenv.mkDerivation rec {
configureFlagsArray+=("--with-google-api-keyfile=$TMPDIR/ga")
'' + lib.optionalString (lib.versionOlder ffversion "58") ''
cd obj-*
''
# AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286
+ lib.optionalString (lib.versionAtLeast ffversion "64") ''
unset AS
'';

configureFlags = [
Expand All @@ -189,10 +193,10 @@ stdenv.mkDerivation rec {
"--disable-necko-wifi" # maybe we want to enable this at some point
"--disable-updater"
"--enable-jemalloc"
"--disable-maintenance-service"
"--disable-gconf"
"--enable-default-toolkit=${default-toolkit}"
]
++ lib.optional (lib.versionOlder ffversion "64") "--disable-maintenance-service"
++ lib.optional (stdenv.isDarwin && lib.versionAtLeast ffversion "61") "--disable-xcode-checks"
++ lib.optional (lib.versionOlder ffversion "61") "--enable-system-hunspell"
++ lib.optionals (lib.versionAtLeast ffversion "56") [
Expand Down

0 comments on commit 93a9e62

Please sign in to comment.