I’m trying to override a version of h5py 3.2 to 2.10 in tensorflow 2.4.1, due to an error with how h5 models are loaded. So I’m eyeing on this specific derivation of h5py in nixos-20.09. But I’m using an unstable version of nixpkgs to get tensorflow 2.4.1.
I tried reading the nix pills on how to override packages, but the syntax is so unfamiliar to me that I can’t comprehend it. I also tried checking the source for tensorflow but proved to be too much for me to wrap my head around.
Sweet. This is exactly what I was looking for. As you mentioned, it built it from scratch which is alright. But I found an alternative way that didn’t require me to, mach-nix. Seems to work decently!
Thank you for taking the time to explain though. This was very helpful.