Skip to content

Commit

Permalink
Make sure Nix clones the full repository for extra Git deps
Browse files Browse the repository at this point in the history
Checkout #38 for an
explanation of where this is necessary.

This could be slower for large repositories, but it should match
`stack`'s default behavior better.
  • Loading branch information
cdepillabout committed Nov 22, 2023
1 parent 0e8619c commit 5999453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/build-support/stacklock2nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ let
url = haskPkgLock.git;
name = srcName;
rev = haskPkgLock.commit;
allRefs = true;
};
src =
if haskPkgLock ? "subdir" then
Expand Down

0 comments on commit 5999453

Please sign in to comment.