1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01: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:
jD91mZM2 2021-01-19 08:50:01 +01:00 committed by Robert Helgesson
parent 9d680ec662
commit 6f5fa6350d
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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";