Skip to content

Commit 4e6a7d5

Browse files
committed
Fix source repo subdir
1 parent a9fd2b6 commit 4e6a7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overlays/haskell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ final: prev: {
727727
in final.lib.optionalAttrs (p ? pkg-src-sha256) {
728728
sha256 = p.pkg-src-sha256;
729729
} // final.lib.optionalAttrs (p.pkg-src.type or "" == "source-repo") {
730-
src = final.lib.lists.elemAt callProjectResults.sourceRepos (final.lib.strings.toInt p.pkg-src.source-repo.location);
730+
src = final.lib.lists.elemAt callProjectResults.sourceRepos (final.lib.strings.toInt p.pkg-src.source-repo.location) + "/${p.pkg-src.source-repo.subdir}";
731731
} // {
732732
flags = p.flags;
733733
components = getComponents cabal2nix.components hsPkgs p;

0 commit comments

Comments
 (0)