on iko/ghcjs-patch-master help sign in
Fix typo in eval-time repo fetching (#1135)

This was backwards.

commit8e146f8d7deeaccf269af73aed80c4bf8f790fe6 authorMichael Peyton Jones <michael.peyton-jones@iohk.io> dateFri 11 Jun 2021, 21:54 (5 years ago) parentada15d4
1 file changed+2−2
lib/call-cabal-project-to-nix.nix+2−2
lib/call-cabal-project-to-nix.nix+2−2
@@ -203,8 +203,8 @@ let
203203 # on the target system would use, so that the derivation is unaffected
204204 # and, say, a linux release build job can identify the derivation
205205 # as built by a darwin builder, and fetch it from a cache
206− sourceReposBuild = builtins.map (fetchRepo pkgs.evalPackages.fetchgit) sourceRepoData ;
207− sourceReposEval = builtins.map (fetchRepo pkgs.fetchgit) sourceRepoData;
206+ sourceReposEval = builtins.map (fetchRepo pkgs.evalPackages.fetchgit) sourceRepoData ;
207+ sourceReposBuild = builtins.map (fetchRepo pkgs.fetchgit) sourceRepoData;
208208 in {
209209 sourceRepos = sourceReposBuild;
210210 makeFixedProjectFile = ''