diff mbox series

[bug#67921,v3,09/24] gnu: Add ghc-primitive-bootstrap-for-9.6

Message ID 20241031125127.14080-10-ngraves@ngraves.fr
State New
Headers show
Series GHC update. | expand

Commit Message

Nicolas Graves Oct. 31, 2024, 12:46 p.m. UTC
From: Saku Laesvuori <saku@laesvuori.fi>

* gnu/packages/haskell.scm (ghc-primitive-bootstrap-for-9.6): New
  variable.

Change-Id: I393ff5f57862de0c6da118a803ed6f898adcf0cb
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2d50113d64..a241e9253f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1760,4 +1760,27 @@  (define ghc-random-bootstrap-for-9.6
 library, including the ability to split random number generators.")
     (license license:bsd-3)))
 
+(define ghc-primitive-bootstrap-for-9.6
+  (package
+    (name "ghc-primitive-bootstrap")
+    (version "0.8.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "primitive" version))
+              (sha256
+               (base32
+                "0pwr5g3bra5m2zjm14pj98klqj2qrjcfasgd3rcrp7vq98dw4lsm"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "primitive")))
+    (arguments
+     `(#:tests? #f
+       #:haskell ,ghc-bootstrap-for-9.6
+       #:cabal-revision ("1"
+                         "0w1nf0rabgyk5q7ccw7va1mj6k50lswvikhi6vr2myb1dvx4bzyh")))
+    (home-page "https://github.com/haskell/primitive")
+    (synopsis "Primitive memory-related operations")
+    (description
+     "This package provides various primitive memory-related operations.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here