From 2397c0f6c41b7c3574e891e0f214cfde62e49db1 Mon Sep 17 00:00:00 2001 From: caem Date: Fri, 24 Jan 2025 16:59:26 +0100 Subject: [PATCH] hmmm --- overlays/nixpkgs/firefox.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/overlays/nixpkgs/firefox.nix b/overlays/nixpkgs/firefox.nix index 5c97d4d..7b78746 100644 --- a/overlays/nixpkgs/firefox.nix +++ b/overlays/nixpkgs/firefox.nix @@ -1,7 +1,12 @@ # Shamelessly stolen most parts from https://github.com/schizofox/schizofox -{ pkgs, ... }: final: prev: { - firefox-esr = pkgs.mkNixPak { +{ pkgs, inputs, lib, ... }: final: prev: let + mkNixPak = inputs.nixpak.lib.nixpak { + inherit (pkgs) lib; + inherit pkgs; + }; +in { + firefox-esr = mkNixPak { config = { sloth, ... }: { app.package = pkgs.firefox-esr; flatpak.appId = "org.mozilla.firefox";