mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
`runCommandLocal` sets both `preferLocalBuild=true` and `allowSubstitutes=false`. There's an [argument](https://github.com/NixOS/nix/issues/4442) that the latter is a misfeature. There's really no reason not to download something from a substitutor if it's actually been built already. We can get the effect that we want easily enough by just setting `preferLocalBuild=true` alone.