Skip to content

Commit a25b0c2

Browse files
committed
Fix hackage revisions
1 parent 4e6a7d5 commit a25b0c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

overlays/haskell.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ final: prev: {
728728
sha256 = p.pkg-src-sha256;
729729
} // final.lib.optionalAttrs (p.pkg-src.type or "" == "source-repo") {
730730
src = final.lib.lists.elemAt callProjectResults.sourceRepos (final.lib.strings.toInt p.pkg-src.source-repo.location) + "/${p.pkg-src.source-repo.subdir}";
731+
} // final.lib.optionalAttrs (p.pkg-version == cabal2nix.package.identifier.version) {
732+
inherit (cabal2nix) package-description-override;
731733
} // {
732734
flags = p.flags;
733735
components = getComponents cabal2nix.components hsPkgs p;

0 commit comments

Comments
 (0)