Skip to content

Commit 20016a7

Browse files
committed
ok
1 parent 1900bdc commit 20016a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/call-cabal-project-to-nix.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ let
228228
then throw "${inputMap.${repoData.url}.rev} may not match ${repoData.ref} for ${repoData.url} use \"${repoData.url}/${repoData.ref}\" as the inputMap key if ${repoData.ref} is a branch or tag that points to ${inputMap.${repoData.url}.rev}."
229229
else inputMap.${repoData.url})
230230
else if repoData.sha256 != null
231-
then fetchgit repoData
231+
then fetchgit { inherit (repoData) url sha256 rev; }
232232
else
233233
let drv = builtins.fetchGit { inherit (repoData) url ref; };
234234
in __trace "WARNING: No sha256 found for source-repository-package ${repoData.url} ${repoData.ref} download may fail in restricted mode (hydra)"

0 commit comments

Comments
 (0)