From a5262a9000258b8bbe1cc5e48c8cc2fcfe95233f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 21 Oct 2014 19:48:29 +0200 Subject: [PATCH] firefox: Fix evaluation on non-Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actually we only support Firefox on Linux, but we hit the “attribute ‘gcc.override’ missing” error before the platform check. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f51b47ea4cf3..daf2d7e039ea 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };