diff options
| author | Michael Weiss <dev.primeos@gmail.com> | 2022-04-24 13:20:28 +0200 |
|---|---|---|
| committer | Michael Weiss <dev.primeos@gmail.com> | 2022-05-26 11:54:42 +0200 |
| commit | f5d47e51a36076193d0ef2c5b197502849167e68 (patch) | |
| tree | 8dcac2ce00e60227d0909965b04f1ffd58fce893 | |
| parent | linuxPackages.vendor-reset: enable parallel building (diff) | |
| download | nixpkgs-f5d47e51a36076193d0ef2c5b197502849167e68.tar.gz | |
chromiumDev: Fix the patch phase
This fixes the following error during patchShebangs:
./third_party/dawn/third_party/webgpu-cts/tools/run_deno: unsupported interpreter directive "#!/usr/bin/env -S deno run --unstable --allow-read --allow-write --allow-env --allow-net=deno.land --no-check" (set dontPatchShebangs=1 and handle shebang patching yourself)
(cherry picked from commit 3e8d4d62374cd66b4e8dd000857c09cb830f227b)
| -rw-r--r-- | pkgs/applications/networking/browsers/chromium/common.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 3a9e07187e2d..3904f66ad50e 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -182,6 +182,7 @@ let --replace "/usr/bin/env -S make -f" "/usr/bin/make -f" fi chmod -x third_party/webgpu-cts/src/tools/run_deno + ${lib.optionalString (chromiumVersionAtLeast "102") "chmod -x third_party/dawn/third_party/webgpu-cts/tools/run_deno"} # We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \ |
