guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 044183a1f1bf2c49eb6f50cff2b0477d16d2c289
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 2 23:49:32 2026 +0100

    gnu: Add node-is-wsl.
    
    * gnu/packages/node-xyz.scm (node-is-wsl): New variable.
    
    Change-Id: I6015694c9a5713066bdc86cee9177230f84fee06
---
 gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 35f2dd2377..55ac5acef8 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1879,6 +1879,35 @@ Uses fs.stat.")
 running inside a Docker container.")
     (license license:expat)))
 
+(define-public node-is-wsl
+  (package
+    (name "node-is-wsl")
+    (version "2.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sindresorhus/is-wsl";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gn5yfg4mwbphfnwqnsxwcfarb2jfgy6ib3hyp5b83wy3dqb04b5"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'patch-dependencies 'delete-dev-dependencies
+           (lambda _
+             (modify-json (delete-dev-dependencies)))))))
+    (inputs
+     (list node-is-docker))
+    (home-page "https://github.com/sindresorhus/is-wsl";)
+    (synopsis "Check if the process is running inside Windows Subsystem for 
Linux")
+    (description "This package provides a way to check if the process is
+running inside Windows Subsystem for Linux.")
+    (license license:expat)))
+
 (define-public node-long-stack-traces
   (package
     (name "node-long-stack-traces")

Reply via email to