{ stdenv, chromium, makeWrapper, ... }:
stdenv.mkDerivation {
name = "chrome-fix";
buildInputs = [ makeWrapper ];
phases = "installPhase";
installPhase =
''
makeWrapper ${chromium}/bin/chromium $out/bin/chromium --set LD_PRELOAD ""
ln -sv $out/bin/chromium $out/bin/chromium-browser
ln -sv ${chromium}/share $out/
'';
}