firefox: Fix evaluation on non-Linux

Actually we only support Firefox on Linux, but we hit the “attribute
‘gcc.override’ missing” error before the platform check.
This commit is contained in:
Eelco Dolstra 2014-10-21 19:48:29 +02:00
parent 5c251eb3a0
commit a5262a9000

View file

@ -9286,7 +9286,7 @@ let
firefox13Wrapper = wrapFirefox { browser = firefox13Pkgs.firefox; };
firefox = callPackage ../applications/networking/browsers/firefox {
stdenv = useGoldLinker stdenv;
stdenv = if stdenv.isLinux then useGoldLinker stdenv else stdenv;
inherit (gnome) libIDL;
inherit (pythonPackages) pysqlite;
};