Don't use ./shared.nix as it's not shared anymore. Fix tests with an upstream patch and a few commands in postPatch. Assert that blas and lapack are compatible. Rename utf8proc patch.