haskell.nix/mk-local-hackage-repo
Michael Peyton Jones 315b6d353d
Don't use allowSubstitutes=false (#1389)
`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.
2022-03-03 15:17:42 +13:00
..
default.nix Don't use allowSubstitutes=false (#1389) 2022-03-03 15:17:42 +13:00
mirrors.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
root.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
snapshot.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
timestamp.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00