-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch stacklock2nix to download all refs when fetching git package de…
…ps (#376) Temporary fix for cdepillabout/stacklock2nix#38, until this is (hopefully) fixed upstream
- Loading branch information
1 parent
27ac540
commit 62139cd
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/nix/build-support/stacklock2nix/default.nix b/nix/build-support/stacklock2nix/default.nix | ||
index b13f246..116ca11 100644 | ||
--- a/nix/build-support/stacklock2nix/default.nix | ||
+++ b/nix/build-support/stacklock2nix/default.nix | ||
@@ -380,6 +380,7 @@ let | ||
url = haskPkgLock.git; | ||
name = srcName; | ||
rev = haskPkgLock.commit; | ||
+ allRefs = true; | ||
}; | ||
src = | ||
if haskPkgLock ? "subdir" then |