Skip to content

Commit

Permalink
chromium: remove superfluous patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Sep 19, 2024
1 parent bac1f69 commit f01b674
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchpatch
{ stdenv, lib, fetchpatch
, recompressTarball
, buildPackages
, buildPlatform
Expand Down Expand Up @@ -65,10 +65,6 @@ let
python3WithPackages = python3.pythonOnBuildForHost.withPackages(ps: with ps; [
ply jinja2 setuptools
]);
clangFormatPython3 = fetchurl {
url = "https://chromium.googlesource.com/chromium/tools/build/+/e77882e0dde52c2ccf33c5570929b75b4a2a2522/recipes/recipe_modules/chromium/resources/clang-format?format=TEXT";
hash = "sha256-1BRxXP+0QgejAWdFHJzGrLMhk/MsRDoVdK/GVoyFg0U=";
};

# The additional attributes for creating derivations based on the chromium
# source tree.
Expand Down Expand Up @@ -379,9 +375,6 @@ let
# Allow to put extensions into the system-path.
sed -i -e 's,/usr,/run/current-system/sw,' chrome/common/chrome_paths.cc
# We need the fix for https://bugs.chromium.org/p/chromium/issues/detail?id=1254408:
base64 --decode ${clangFormatPython3} > buildtools/linux64/clang-format
# Add final newlines to scripts that do not end with one.
# This is a temporary workaround until https://github.com/NixOS/nixpkgs/pull/255463 (or similar) has been merged,
# as patchShebangs hard-crashes when it encounters files that contain only a shebang and do not end with a final
Expand Down

0 comments on commit f01b674

Please sign in to comment.