From e3cb6e77720109b217b9a9d2154901d4b0167af2 Mon Sep 17 00:00:00 2001 From: Herwig Hochleitner Date: Thu, 22 Feb 2018 02:02:00 +0100 Subject: [PATCH] chromium: build mojo_platform_bindings before chrome this is an attempt to prevent spurious errors due to parallel make see https://github.com/NixOS/nixpkgs/issues/35296 --- pkgs/applications/networking/browsers/chromium/browser.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/chromium/browser.nix b/pkgs/applications/networking/browsers/chromium/browser.nix index e35d894e0e7e..404f25969097 100644 --- a/pkgs/applications/networking/browsers/chromium/browser.nix +++ b/pkgs/applications/networking/browsers/chromium/browser.nix @@ -5,7 +5,9 @@ with stdenv.lib; mkChromiumDerivation (base: rec { name = "chromium-browser"; packageName = "chromium"; - buildTargets = [ "mksnapshot" "chrome_sandbox" "chrome" ]; + ## mojo_platform_bindings is built ahead of chrome, because of spurious + ## build errors, see https://github.com/NixOS/nixpkgs/issues/35296 + buildTargets = [ "mksnapshot" "mojo_platform_bindings" "chrome_sandbox" "chrome" ]; outputs = ["out" "sandbox"];