▲ | umanwizard 10 months ago | |||||||
You’re basically describing nix and Guix. | ||||||||
▲ | __MatrixMan__ 10 months ago | parent [-] | |||||||
They use a hash of the derivation and its inputs as a memoization strategy: providing yesterday's answer to today's question since it was asked yesterday. But so far as I know nobody's actually using those hashes for the initial request. It's not like python will let you:
Such that the import mechanism ensures that the correct build of numpy is used.For that to work you'd have to change nix such that the hash did not digest parameters like `amd64-linux` witch indicated the system architecture (you'd want those to be satisfied at import time). | ||||||||
|