guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#56368] [PATCH 2/4] gnu: Add gawk-mpfr.


From: Paul A. Patience
Subject: [bug#56368] [PATCH 2/4] gnu: Add gawk-mpfr.
Date: Sun, 03 Jul 2022 13:01:59 +0000

* gnu/packages/gawk.scm (gawk-mpfr): New variable.
---
 gnu/packages/gawk.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 91252094b5..52ac66f9bb 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -24,6 +25,7 @@ (define-module (gnu packages gawk)
   #:use-module (gnu packages)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages libsigsegv)
+  #:use-module (gnu packages multiprecision)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu))
@@ -95,6 +97,14 @@ (define-public gawk
 including network access, sorting, and large libraries.")
    (license license:gpl3+)))

+;; Separate from gawk to facilitate bootstrapping.
+(define-public gawk-mpfr
+  (package/inherit gawk
+    (name "gawk-mpfr")
+    (inputs
+     (modify-inputs (package-inputs gawk)
+       (prepend mpfr)))))
+
 (define-public mawk
   (package
     (name "mawk")
--
2.36.1







reply via email to

[Prev in Thread] Current Thread [Next in Thread]