about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/nixpkgs-exposed/haskell_overlay/default.nix16
-rw-r--r--users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs2
2 files changed, 2 insertions, 16 deletions
diff --git a/third_party/nixpkgs-exposed/haskell_overlay/default.nix b/third_party/nixpkgs-exposed/haskell_overlay/default.nix
index 4cf3cfb4cb73..9b025d7d2828 100644
--- a/third_party/nixpkgs-exposed/haskell_overlay/default.nix
+++ b/third_party/nixpkgs-exposed/haskell_overlay/default.nix
@@ -26,19 +26,5 @@ self: super: with pkgs.haskell.lib; rec {
     '';
   });
 
-  # pin hgeometry* to 0.11.0.0 since 0.12.0.0 removes triangulationEdges
-  # which is used by //users/glittershark/xanthous
-  hgeometry =
-    self.callHackageDirect {
-      pkg = "hgeometry";
-      ver = "0.11.0.0";
-      sha256 = "0qidbpgs6jxrirrhmy7iabwd62178sm68fqrmqg3w3gfyx8nm8ls";
-    } {};
-
-  hgeometry-combinatorial =
-    self.callHackageDirect {
-      pkg = "hgeometry-combinatorial";
-      ver = "0.11.0.0";
-      sha256 = "0c9ccqz1m45kkdkzw00gvzdspjljhg12vish6himqjqpms7g6sag";
-    } {};
+  hgeometry-combinatorial = dontCheck super.hgeometry-combinatorial;
 }
diff --git a/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs b/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs
index 353fcfc59b14..6ba63a2d8a3f 100644
--- a/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs
+++ b/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs
@@ -146,7 +146,7 @@ delaunay
   -> [((V2 n, p), (V2 n, p))]
 delaunay
   = map (over both fromPoint)
-  . Geometry.triangulationEdges
+  . Geometry.edgesAsPoints
   . Geometry.delaunayTriangulation
   . map toPoint
   where