diff --git a/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-140.nix b/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-140.nix index f32269b032ba..3865f2915e0f 100644 --- a/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-140.nix +++ b/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-140.nix @@ -24,6 +24,19 @@ buildMozillaMach rec { maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) license = lib.licenses.mpl20; mainProgram = "firefox"; + identifiers = { + cpeParts = { + product = "firefox"; + sw_edition = "esr"; + update = "*"; + vendor = "mozilla"; + version = lib.removeSuffix "esr" version; + }; + purlParts = { + type = "generic"; + spec = "firefox@${lib.removeSuffix "esr" version}"; + }; + }; }; tests = { inherit (nixosTests) firefox-esr-140; diff --git a/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-153.nix b/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-153.nix index cf2b5008489e..d8d7c3050e38 100644 --- a/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-153.nix +++ b/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-153.nix @@ -25,6 +25,19 @@ buildMozillaMach rec { maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) license = lib.licenses.mpl20; mainProgram = "firefox"; + identifiers = { + cpeParts = { + product = "firefox"; + sw_edition = "esr"; + update = "*"; + vendor = "mozilla"; + version = lib.removeSuffix "esr" version; + }; + purlParts = { + type = "generic"; + spec = "firefox@${lib.removeSuffix "esr" version}"; + }; + }; }; tests = { inherit (nixosTests) firefox-esr-153; diff --git a/pkgs/applications/networking/browsers/firefox/packages/firefox.nix b/pkgs/applications/networking/browsers/firefox/packages/firefox.nix index ec7e0b3e8361..36feec6f8f27 100644 --- a/pkgs/applications/networking/browsers/firefox/packages/firefox.nix +++ b/pkgs/applications/networking/browsers/firefox/packages/firefox.nix @@ -30,6 +30,18 @@ buildMozillaMach rec { maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) license = lib.licenses.mpl20; mainProgram = "firefox"; + identifiers = { + cpeParts = { + inherit version; + product = "firefox"; + update = "*"; + vendor = "mozilla"; + }; + purlParts = { + type = "generic"; + spec = "firefox@${version}"; + }; + }; }; tests = { inherit (nixosTests) firefox;