Overlays still such a mind blow to me, see this “Build with /nix/store/nknkgmiwm6fr2jc6xlsifi7arz7ny6la-ghc-9.2.8.” line in the build output of the concerned package.
Based on this I decided to give the following a shot based on the gist linked here:
nixpkgs.overlays = [
(final: prev: {
haskell = prev.haskell // {
packages = prev.haskell.packages // {
ghc928 = prev.haskell.packages.ghc928.override {
overrides = hsSelf: hsSuper: {
time-compat = prev.haskell.lib.dontCheck hsSuper.time-compat;
};
};
};
};
})
];
Et voilà it works.