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 7c35569b2157..a87bad25a601 100644 --- a/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-140.nix +++ b/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-140.nix @@ -24,12 +24,18 @@ 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; + 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 = { 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 b7fbd0eb2148..c59d80099bb6 100644 --- a/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-153.nix +++ b/pkgs/applications/networking/browsers/firefox/packages/firefox-esr-153.nix @@ -25,12 +25,18 @@ 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; + 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 = { diff --git a/pkgs/applications/networking/browsers/firefox/packages/firefox.nix b/pkgs/applications/networking/browsers/firefox/packages/firefox.nix index 8c9ade933b46..df8211d5f9bb 100644 --- a/pkgs/applications/networking/browsers/firefox/packages/firefox.nix +++ b/pkgs/applications/networking/browsers/firefox/packages/firefox.nix @@ -30,11 +30,17 @@ 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"; + identifiers = { + cpeParts = { + inherit version; + product = "firefox"; + update = "*"; + vendor = "mozilla"; + }; + purlParts = { + type = "generic"; + spec = "firefox@${version}"; + }; }; }; tests = {