aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-06-10 20:28:41 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-06-10 20:28:50 +0300
commitce5bb269f509c16258284d0c78ca405c19a84ac2 (patch)
treee08bfcc9b50eb84c073de83e1851548b0c3a537e /modules
parent79617d32c14667bac08ed56faa20cd243c09682e (diff)
downloadnixsap-ce5bb269f509c16258284d0c78ca405c19a84ac2.tar.gz
Remove unused nodejs override
This version is unused yet, fails to build with recent nixpkgs. Also see 79617d32c14667bac08ed56faa20cd243c09682e.
Diffstat (limited to 'modules')
-rw-r--r--modules/pkgs/nodejs/default.nix57
1 files changed, 0 insertions, 57 deletions
diff --git a/modules/pkgs/nodejs/default.nix b/modules/pkgs/nodejs/default.nix
deleted file mode 100644
index a21aaea..0000000
--- a/modules/pkgs/nodejs/default.nix
+++ /dev/null
@@ -1,57 +0,0 @@
-{ fetchurl, http-parser, libuv, openssl, python, stdenv,
- utillinux, v8, which, zlib }:
-
-let
-
- deps = {
- inherit openssl zlib libuv http-parser;
- };
-
- sharedConfigureFlags = name: [
- "--shared-${name}"
- "--shared-${name}-includes=${builtins.getAttr name deps}/include"
- "--shared-${name}-libpath=${builtins.getAttr name deps}/lib"
- ];
-
- inherit (stdenv.lib) concatMap licenses ;
-
-in stdenv.mkDerivation rec {
-
- version = "6.9.1";
- name = "nodejs-${version}";
-
- src = fetchurl {
- url = "https://nodejs.org/download/release/v${version}/node-v${version}.tar.xz";
- sha256 = "0a87vzb33xdg8w0xi3c605hfav3c9m4ylab1436whz3p0l9qvp8b";
- };
-
- configureFlags = concatMap sharedConfigureFlags (builtins.attrNames deps) ++ [ "--without-dtrace" ];
- dontDisableStatic = true;
-
- postInstall = ''
- PATH=$out/bin:$PATH patchShebangs $out
- '';
-
- buildInputs =
- [ http-parser libuv openssl python utillinux which
- zlib ];
-
- setupHook = builtins.toFile "nodejs-setup-hook" ''
- addNodePath () {
- addToSearchPath NODE_PATH $1/lib/node_modules
- }
-
- envHooks+=(addNodePath)
- '';
-
- enableParallelBuilding = true;
-
- passthru.interpreterName = "nodejs";
-
- meta = {
- description = "Event-driven I/O framework for the V8 JavaScript engine";
- homepage = http://nodejs.org;
- license = licenses.mit;
- };
-}
-