mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
nixos/firefox: Fix package references
https://github.com/NixOS/nixpkgs/pull/262017 removed `with pkgs;` so setting `programs.firefox.enable = true` resulted in evaluation errors like `error: undefined variable 'ff2mpv'` This still doesn't fix https://github.com/NixOS/nixpkgs/issues/262600
This commit is contained in:
parent
44881e03af
commit
57436cf549
|
@ -224,11 +224,11 @@ in
|
|||
extraPrefs = cfg.autoConfig;
|
||||
extraNativeMessagingHosts =
|
||||
old.extraNativeMessagingHosts or []
|
||||
++ optional nmh.ff2mpv ff2mpv
|
||||
++ optional nmh.euwebid web-eid-app
|
||||
++ optional nmh.gsconnect gnomeExtensions.gsconnect
|
||||
++ optional nmh.jabref jabref
|
||||
++ optional nmh.passff passff-host;
|
||||
++ optional nmh.ff2mpv pkgs.ff2mpv
|
||||
++ optional nmh.euwebid pkgs.web-eid-app
|
||||
++ optional nmh.gsconnect pkgs.gnomeExtensions.gsconnect
|
||||
++ optional nmh.jabref pkgs.jabref
|
||||
++ optional nmh.passff pkgs.passff-host;
|
||||
cfg = let
|
||||
# copy-pasted from the wrapper; TODO: figure out fix
|
||||
applicationName = cfg.package.binaryName or (lib.getName cfg.package);
|
||||
|
|
Loading…
Reference in a new issue