about summary refs log tree commit diff
path: root/third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-10T12·12+0200
committertazjin <mail@tazj.in>2021-04-10T15·23+0000
commite6d1e68f4add807b94173788b9e53da98b4e255b (patch)
treefa2bbb6eccc0d1b09e12d8772129c21d7a04bce0 /third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch
parent6489d94ad60c431d27836a0bc65953e44175b262 (diff)
refactor(3p/overlays): Move haskell overlay to new tree location r/2466
nixpkgs_exposed is going away, and the haskell overlay is independent
from that.

See also b/108, cl/2910

Change-Id: I3aea6dfc427a914f3f88146fd0b45d60dfd45a1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2918
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch')
-rw-r--r--third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch b/third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch
new file mode 100644
index 000000000000..f0c936bfca18
--- /dev/null
+++ b/third_party/overlays/haskell/patches/generic-arbitrary-export-garbitrary.patch
@@ -0,0 +1,12 @@
+diff --git a/src/Test/QuickCheck/Arbitrary/Generic.hs b/src/Test/QuickCheck/Arbitrary/Generic.hs
+index fed6ab3..91f59f1 100644
+--- a/src/Test/QuickCheck/Arbitrary/Generic.hs
++++ b/src/Test/QuickCheck/Arbitrary/Generic.hs
+@@ -23,6 +23,7 @@ The generated 'arbitrary' method is equivalent to
+ 
+ module Test.QuickCheck.Arbitrary.Generic
+   ( Arbitrary(..)
++  , GArbitrary
+   , genericArbitrary
+   , genericShrink
+   ) where