diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 46734e3ab072..2c70978a4962 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -137,8 +137,8 @@ let # We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \ --replace \ - 'std::string sandbox_binary(GetSandboxBinaryPath().value());' \ - 'std::string sandbox_binary(GetDevelSandboxPath());' + 'return sandbox_binary;' \ + 'return base::FilePath(GetDevelSandboxPath());' sed -i -r \ -e 's/-f(stack-protector)(-all)?/-fno-\1/' \