chromium: support ungoogled-chromium
The guessed browser name is wrong here, ungoogled-chromium simply uses "chromium" as configuration name.
This commit is contained in:
parent
9d680ec662
commit
6f5fa6350d
|
@ -99,7 +99,8 @@ let
|
||||||
browserConfig = cfg:
|
browserConfig = cfg:
|
||||||
let
|
let
|
||||||
|
|
||||||
browser = (builtins.parseDrvName cfg.package.name).name;
|
drvName = (builtins.parseDrvName cfg.package.name).name;
|
||||||
|
browser = if drvName == "ungoogled-chromium" then "chromium" else drvName;
|
||||||
|
|
||||||
darwinDirs = {
|
darwinDirs = {
|
||||||
chromium = "Chromium";
|
chromium = "Chromium";
|
||||||
|
|
Loading…
Reference in a new issue