How to tell nix to find a prebuilt (even older) version of package instead of compiling locally?

I’ve just update my nixos from 19.09 to 20.03
Everything works as expected except graalvm. Somehow it doesn’t pull the built version from but compile from source it stead. And that package is massive, my computer can’t afford compiling it.
Any idea why and how to fix that?

1 Like

ah, found out what happened with graalvm here:

I have another question, however: how do I tell nix to use a prebuilt version, even when it’s older, in such situation?

just updated the thread title to my latest question

I don’t think you can tell nix to do this, as the hash would be different. Nix only knows about packages and their hashes; It’s pretty version oblivious.