GNU bug report logs - #68941
[PATCH 00/44] Node : a solution for tiny packages.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 5 Feb 2024 23:17:02 UTC

Severity: normal

Tags: patch

Full log


Message #20 received at 68941 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 06/44] gnu: Add node-has-symbols.
Date: Tue,  6 Feb 2024 00:18:54 +0100
* gnu/packages/node-xyz.scm (node-has-symbols): New variable.

Change-Id: I70c587929317c06fc01053a42b881bbc7002565d
---
 gnu/packages/node-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index f4a10a7638..af49151e73 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -531,6 +531,13 @@ (define-public node-has-proto
 Object prototypes."
    #:mozilla-doclink "Global_Objects/Object/getPrototypeOf"))
 
+(define-public node-has-symbols
+  (node-trivial-package
+   "has-symbols" 0 "() => true"
+   "This package returns true in Javascript because web browsers implement
+symbols."
+   #:mozilla-doclink "Global_Objects/Symbol"))
+
 (define-public node-ieee754
   (package
     (name "node-ieee754")
-- 
2.41.0





This bug report was last modified 1 year and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.