From a5a5abd2feea900aead301c7f559a0bc1e2c6456 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 26 Mar 2014 01:33:07 +0100 Subject: [PATCH] chromium: Fix startup of beta and dev channels. Since version 34, ICU data files are now created separately and thus need to be installed as well. Closes #2016 Signed-off-by: aszlig (cherry picked from commit f117341ff2de4b95d223b41b36942e2f60ada2a3) Signed-off-by: aszlig --- pkgs/applications/networking/browsers/chromium/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index baf67371769..df5c2bff0d3 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -246,6 +246,9 @@ in stdenv.mkDerivation rec { installPhase = '' ensureDir "${libExecPath}" cp -v "${buildPath}/"*.pak "${libExecPath}/" + ${optionalString (!versionOlder src.version "34.0.0.0") '' + cp -v "${buildPath}/icudtl.dat" "${libExecPath}/" + ''} cp -vR "${buildPath}/locales" "${buildPath}/resources" "${libExecPath}/" cp -v ${buildPath}/libffmpegsumo.so "${libExecPath}/"