make it work pls

This commit is contained in:
Charlotte 🦝 Delenk 2022-10-18 12:28:27 +01:00
parent 4038c64a58
commit 7739f96aa5
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -6,7 +6,7 @@
let
firefox-wrapped = config.programs.firefox.package;
firefox = firefox-wrapped.unwrapped;
nss = pkgs.lib.lists.findFirst (x: x.pname == "nss") null firefox.buildInputs;
nss = pkgs.lib.lists.findFirst (x: (x.pname ? x.name) == "nss") null firefox.buildInputs;
in {
home.packages = with pkgs; [
(discord.override { inherit nss; })