Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose firefox variants #294

Merged
merged 1 commit into from
Jul 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions firefox-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -182,43 +182,45 @@ let
+ optionalString (96 >= getMajorVersion version) (":" + makeLibraryPath [self.xorg.libXtst]);
}));
in wrapFirefoxCompat { inherit version pkg; };
in

{
lib = super.lib // {
firefoxOverlay = {
inherit pgpKey firefoxVersion versionInfo firefox_versions;
};
};

# Set of packages which are automagically updated. Do not rely on these for
# reproducible builds.
latest = (super.latest or {}) // {
firefox-nightly-bin = firefoxVersion {
firefoxVariants = {
firefox-nightly-bin = {
name = "Firefox Nightly";
wmClass = "firefox-nightly";
version = firefox_versions.FIREFOX_NIGHTLY;
release = false;
};
firefox-beta-bin = firefoxVersion {
firefox-beta-bin = {
name = "Firefox Beta";
wmClass = "firefox-beta";
version = firefox_versions.LATEST_FIREFOX_DEVEL_VERSION;
release = true;
};
firefox-bin = firefoxVersion {
firefox-bin = {
name = "Firefox";
wmClass = "firefox";
version = firefox_versions.LATEST_FIREFOX_VERSION;
release = true;
};
firefox-esr-bin = firefoxVersion {
firefox-esr-bin = {
name = "Firefox ESR";
wmClass = "firefox";
version = firefox_versions.FIREFOX_ESR;
release = true;
};
};
in

{
lib = super.lib // {
firefoxOverlay = {
inherit pgpKey firefoxVersion versionInfo firefox_versions firefoxVariants;
};
};

# Set of packages which are automagically updated. Do not rely on these for
# reproducible builds.
latest = (super.latest or {}) // (builtins.mapAttrs (n: v: firefoxVersion v) firefoxVariants);

# Set of packages which used to build developer environment
devEnv = (super.shell or {}) // {
Expand Down