summaryrefslogtreecommitdiff
path: root/rodion
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-10-09 23:15:45 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-10-09 23:15:45 +0400
commit4fee0fc5137d2b5de26f07b232fcefd81b2c8d56 (patch)
tree6711e31ff1ab85db1715a59903a861effee3c8c0 /rodion
parentcf21128e5c62002d67c52b64b788001a39a40fff (diff)
gnu: Remove node/fresh.
* rodion/packages/node.scm (node/fresh): Delete variable.
Diffstat (limited to 'rodion')
-rw-r--r--rodion/packages/node.scm44
1 files changed, 0 insertions, 44 deletions
diff --git a/rodion/packages/node.scm b/rodion/packages/node.scm
deleted file mode 100644
index c60f0af..0000000
--- a/rodion/packages/node.scm
+++ /dev/null
@@ -1,44 +0,0 @@
-(define-module (rodion packages node)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (gnu packages gcc)
- #:use-module (gnu packages base)
- #:use-module (gnu packages commencement)
- #:use-module (nonguix build-system binary)
- #:use-module (guix licenses))
-
-(define-public node/fresh
- (package
- (name "node")
- (version "20.11.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://nodejs.org/dist/v" version
- "/node-v" version "-linux-x64.tar.xz"))
- (sha256
- (base32
- "1gkgrz4vsps9idmb4kp7js6bbqrxkxlmf8maaqrv0wlnn14vbnnq"))))
- (build-system binary-build-system)
- (arguments
- `(#:install-plan '(("bin" "bin")
- ("include" "include")
- ("lib" "lib")
- ("share" "share"))
- #:patchelf-plan `(("bin/node" ("gcc" "gcc-toolchain")))
- #:strip-binaries? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-corepack
- (lambda* (#:key outputs #:allow-other-keys)
- ;; FIXME: Cannot install npm because installing npm with corepack causes segmentation fault
- (invoke (string-append (assoc-ref outputs "out") "/bin/node")
- (string-append (assoc-ref outputs "out") "/bin/corepack")
- "enable"
- "--install-directory" (string-append (assoc-ref outputs "out") "/bin")))))))
- (inputs `((,gcc "lib")
- ,gcc-toolchain))
- (home-page "https://nodejs.org/")
- (synopsis "Node.js 20 binary version")
- (description
- "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.")
- (license expat)))