-
Notifications
You must be signed in to change notification settings - Fork 0
Pin transmission to particular nixpkgs hash #187
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 |
|---|---|---|
|
|
@@ -17,13 +17,10 @@ | |
| pkgs = getPkgs inputs.nixpkgs; | ||
| pkgsLldb = getPkgs inputs.debugserver; | ||
| pkgsRelease = getPkgs inputs.nixpkgs-25_11; | ||
| pkgsTransmission = getPkgs inputs.nixpkgs-transmission; | ||
| pkgsQuartzWm = getPkgs inputs.nixpkgs-quartz-wm; | ||
| llmAgentsPkgs = inputs.llm-agents.packages.${prev.system}; | ||
| releaseTransmission = | ||
| if prev.lib.strings.hasPrefix "4.0." pkgsRelease.transmission_4.version then | ||
| pkgsRelease.transmission_4 | ||
| else | ||
| throw "Expected transmission_4 from nixpkgs-25_11 to be 4.0.x, got ${pkgsRelease.transmission_4.version}"; | ||
| pinnedTransmission = pkgsTransmission.transmission_4; | ||
| # Temporary Darwin firefox wrapper backport: | ||
| # in our pinned nixpkgs revision, wrapper logic copies only *.dylib symlinks. | ||
| # Some shared libraries are Mach-O dylibs without that suffix, which leaves them | ||
|
|
@@ -61,11 +58,11 @@ | |
| # pull latest from nixpkgs; ignore what comes from rpi5 repo nixpkgs | ||
| inherit (pkgs) netbootxyz-efi; | ||
|
|
||
| # Pull Sonarr/Readarr and pin Transmission to 4.0.x from release-25.11. | ||
| # Pull Sonarr/Readarr from release-25.11 and pin Transmission via a dedicated nixpkgs input. | ||
| # TODO: report issues; investigate; fix | ||
| inherit (pkgsRelease) readarr sonarr; | ||
| transmission_4 = releaseTransmission; | ||
| transmission = releaseTransmission; | ||
| transmission_4 = pinnedTransmission; | ||
| transmission = pinnedTransmission; | ||
|
Comment on lines
+64
to
+65
|
||
|
|
||
| jellyfin = prev.jellyfin.overrideAttrs (old: { | ||
| patches = old.patches or [ ] ++ [ | ||
|
|
||
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.
This change removes the previous guard that validated Transmission stays on 4.0.x (and provided a clear error if it drifted). Even though the input is pinned by commit, it’s still easy to update that hash later and accidentally jump to 4.1+. Consider reintroducing an explicit version assertion/throw around
pinnedTransmission(similar to the priorreleaseTransmissioncheck) so future bumps fail fast with a clear message.