make it work pls

This commit is contained in:
Charlotte 🦝 Delenk 2022-10-18 12:29:27 +01:00
parent 7739f96aa5
commit db6c2b0e96
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 ? x.name) == "nss") null firefox.buildInputs;
nss = pkgs.lib.lists.findFirst (x: x.pname or x.name == "nss") null firefox.buildInputs;
in {
home.packages = with pkgs; [
(discord.override { inherit nss; })