Skip to content
Prev 16496 / 21307 Next

[Bioc-devel] How can I maintain a stable list of source urls

Thanks Mike.
On your last question I don't have a ready example but I noticed several
times that I had to update the sha256 hash but not the version number.
Possible I'm mistaken, so if I notice it again I'll post in this thread.

What is true for certain is that the nix R packages use source urls that
only get updated when someone runs r-modules generate-R-packages by hand
and updates the version numbers and sha256 hashes stored in
bioc-packages.nix or cran-packages.nix, part of the nixpkgs repo.  When you
install a package the source url is based on the last time these items were
checked by nixpkgs, and the same urls are queried to get the source. Even
if things worked one day, the next day the url is not guaranteed to exist
(or perhaps have the same sha256 as before). This makes it hard to use
nixpkgs to keep a development environment up to date.

I am working on some changes to nixpkgs to help with keeping nixpkgs more
up-to-date, but wasn't expecting to build and host custom mirrors as part
of the scope. Hope I can find a different solution.
Tim
On Fri, Apr 3, 2020 at 4:49 AM Mike Smith <grimbough at gmail.com> wrote: