From 391ee977c0489ca1b5130417ba9d48d3eb419489 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Sat, 14 Jul 2018 11:47:37 -0400
Subject: [PATCH] Remove random submodule

I believe this was originally introduced to help test DPH, which is now
gone.

(cherry picked from commit 0905fec089b3270f540c7ee33959cbf8ecfcb4d7)
---
 ghc.mk           | 2 +-
 libraries/random | 1 -
 packages         | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
 delete mode 160000 libraries/random

diff --git a/ghc.mk b/ghc.mk
index c0b99c00f4d..eed172e48f6 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1215,7 +1215,7 @@ GIT_COMMIT_ID:
 sdist-ghc-prep-tree : VERSION GIT_COMMIT_ID
 
 # Extra packages which shouldn't be in the source distribution: see #8801
-EXTRA_PACKAGES=parallel random
+EXTRA_PACKAGES=parallel
 
 .PHONY: sdist-ghc-prep-tree
 sdist-ghc-prep-tree :
diff --git a/libraries/random b/libraries/random
deleted file mode 160000
index c72dd0a01ae..00000000000
--- a/libraries/random
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit c72dd0a01ae6255bead2d4fad33f002bb5684030
diff --git a/packages b/packages
index 94dad9e1376..0d3317dcf39 100644
--- a/packages
+++ b/packages
@@ -65,5 +65,4 @@ libraries/xhtml              -           -                               https:/
 nofib                        nofib       -                               -
 libraries/parallel           extra       -                               ssh://git@github.com/haskell/parallel.git
 libraries/stm                -           -                               ssh://git@github.com/haskell/stm.git
-libraries/random             extra       -                               https://github.com/haskell/random.git
 .                            -           ghc.git                         -
-- 
GitLab