mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
chromium: support ungoogled-chromium
The guessed browser name is wrong here, ungoogled-chromium simply uses "chromium" as configuration name.
This commit is contained in:
committed by
Robert Helgesson
parent
9d680ec662
commit
6f5fa6350d
@@ -99,7 +99,8 @@ let
|
||||
browserConfig = cfg:
|
||||
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 = {
|
||||
chromium = "Chromium";
|
||||
|
||||
Reference in New Issue
Block a user