From 4fee0fc5137d2b5de26f07b232fcefd81b2c8d56 Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Wed, 9 Oct 2024 23:15:45 +0400 Subject: gnu: Remove node/fresh. * rodion/packages/node.scm (node/fresh): Delete variable. --- rodion/packages/node.scm | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 rodion/packages/node.scm (limited to 'rodion') 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))) -- cgit v1.2.3