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

jellyfin: fix download URL #96221

Closed
wants to merge 1 commit into from

Conversation

purcell
Copy link
Member

@purcell purcell commented Aug 25, 2020

The download URL layout appears to have been changed since #95889,
causing the previous URLs to become invalid. This commit fixes the URL
template to fit the new layout.

Motivation for this change

Download URL has broken (presumably unilaterally upstream) since #95889. This trivial PR fixes it.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

The download URL layout appears to have been changed since NixOS#95889,
causing the previous URLs to become invalid. This commit fixes the URL
template to fit the new layout.
Copy link
Contributor

@danieldk danieldk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have nothing against changing the URL, but the old one seems to work again?

$ nix-prefetch-url --unpack https://repo.jellyfin.org/releases/server/portable/stable/combined/jellyfin_10.6.3.tar.gz
unpacking...
[69.7 MiB DL]
path is '/nix/store/zrq7v4mwq6f9flvzj2kp97wy8fqsmavn-jellyfin_10.6.3.tar.gz'
0yyh7x6b707vxdibaj3vwkdl2iaf8dv6kwm8rn277c8nri52hqy7

@purcell
Copy link
Member Author

purcell commented Aug 25, 2020

I have nothing against changing the URL, but the old one seems to work again?

Gah, you're right - I think I was actually seeing the failure fixed by #95889, due to an older nixpkgs ref, and wrongly jumped to the conclusion that things had changed since that PR. I think we can just delete this then. Sorry for the noise.

@purcell purcell closed this Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants