chore(3p/sources): Bump channels & overlays

* //3p/overlays: add workaround for broken URL in current channel.
  The added assert should fire as soon as the fix lands in channels
  as a reminder to clean it up.

Change-Id: I3014fbacec5f8933bb0c055a065c5ff2935b131b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5425
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
sterni 2022-03-30 13:12:39 +02:00
parent 017238a1be
commit b4b0008180
2 changed files with 27 additions and 9 deletions

View file

@ -74,4 +74,22 @@ self: super: {
outputHash = "10if2lmv8d95j3walq3ggx3y423yfy4yl9vplw3apd0s671bly8b";
});
});
# Temporary workaround until the following commit is in channels:
# https://github.com/nixos/nixpkgs/commit/5819b99350d7ac6e20f91adce38e7bb22e4d6fc4
ocamlPackages = super.ocamlPackages.overrideScope' (oself: osuper: {
uutf =
let
expectedUrls = [
"https://erratique.ch/software/uutf/releases/uutf-${osuper.uutf.version}.tbz"
];
in
assert osuper.uutf.src.urls != expectedUrls;
osuper.uutf.overrideAttrs (old: {
src = self.fetchurl {
urls = expectedUrls;
sha256 = old.src.outputHash;
};
});
});
}