-
Notifications
You must be signed in to change notification settings - Fork 0
Pin {firefox,thunderbird}-unwrapped to exact nixpkgs hashes #189
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| additions = final: _prev: import ../pkgs final.pkgs; | ||
|
|
||
| modifications = | ||
| _final: prev: | ||
| final: prev: | ||
| let | ||
| getPkgs = | ||
| np: | ||
|
|
@@ -19,6 +19,8 @@ | |
| pkgsRelease = getPkgs inputs.nixpkgs-25_11; | ||
| pkgsTransmission = getPkgs inputs.nixpkgs-transmission; | ||
| pkgsQuartzWm = getPkgs inputs.nixpkgs-quartz-wm; | ||
| pkgsFirefoxUnwrapped = getPkgs inputs.nixpkgs-firefox-unwrapped; | ||
| pkgsThunderbirdUnwrapped = getPkgs inputs.nixpkgs-thunderbird-unwrapped; | ||
| llmAgentsPkgs = inputs.llm-agents.packages.${prev.system}; | ||
| pinnedTransmission = pkgsTransmission.transmission_4; | ||
| # Temporary Darwin firefox wrapper backport: | ||
|
|
@@ -75,8 +77,12 @@ | |
| }); | ||
| } | ||
| // inputs.nixpkgs.lib.optionalAttrs prev.stdenv.isDarwin { | ||
| "firefox-unwrapped" = pkgsFirefoxUnwrapped."firefox-unwrapped"; | ||
| "thunderbird-unwrapped" = pkgsThunderbirdUnwrapped."thunderbird-unwrapped"; | ||
|
|
||
| # Backport until https://github.com/NixOS/nixpkgs/pull/488112 lands in our pinned nixpkgs. | ||
| firefox = patchFirefoxDarwinWrapper prev.firefox; | ||
| firefox = patchFirefoxDarwinWrapper (prev.wrapFirefox final."firefox-unwrapped" { }); | ||
| thunderbird = prev.wrapThunderbird final."thunderbird-unwrapped" { }; | ||
|
Comment on lines
79
to
+85
|
||
|
|
||
| # Pull XQuartz stack from a fork until quartz-wm changes are merged: | ||
| # https://github.com/NixOS/nixpkgs/pull/491935 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixpkgs-firefox-unwrappedandnixpkgs-thunderbird-unwrappedare pinned to the exact same nixpkgs revision. To reduce duplication (and future update churn), consider using a single pinned nixpkgs input (e.g.nixpkgs-mozilla-unwrapped) and sourcing bothfirefox-unwrappedandthunderbird-unwrappedfrom it.