mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
nodePackages.npm: drop
This commit is contained in:
parent
e587ef535d
commit
506df4e38e
@ -118,7 +118,7 @@ in
|
||||
environment = {
|
||||
HOME = cfg.userDir;
|
||||
};
|
||||
path = lib.optionals cfg.withNpmAndGcc [ pkgs.nodePackages.npm pkgs.gcc ];
|
||||
path = lib.optionals cfg.withNpmAndGcc [ pkgs.nodejs pkgs.gcc ];
|
||||
serviceConfig = mkMerge [
|
||||
{
|
||||
User = cfg.user;
|
||||
|
@ -135,6 +135,7 @@ mapAliases {
|
||||
inherit (pkgs) node-gyp; # added 2024-08-13
|
||||
inherit (pkgs) node-pre-gyp; # added 2024-08-05
|
||||
inherit (pkgs) nodemon; # added 2024-06-28
|
||||
npm = pkgs.nodejs.overrideAttrs (old: { meta = old.meta // { mainProgram = "npm"; }; }); # added 2024-10-04
|
||||
inherit (pkgs) npm-check-updates; # added 2023-08-22
|
||||
ocaml-language-server = throw "ocaml-language-server was removed because it was abandoned upstream"; # added 2023-09-04
|
||||
parcel-bundler = self.parcel; # added 2023-09-04
|
||||
|
@ -148,7 +148,6 @@
|
||||
, "node-red"
|
||||
, "node2nix"
|
||||
, "np"
|
||||
, "npm"
|
||||
, "npm-merge-driver"
|
||||
, "nrm"
|
||||
, "orval"
|
||||
|
18
pkgs/development/node-packages/node-packages.nix
generated
18
pkgs/development/node-packages/node-packages.nix
generated
@ -76695,24 +76695,6 @@ in
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
npm = nodeEnv.buildNodePackage {
|
||||
name = "npm";
|
||||
packageName = "npm";
|
||||
version = "10.8.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/npm/-/npm-10.8.3.tgz";
|
||||
sha512 = "0IQlyAYvVtQ7uOhDFYZCGK8kkut2nh8cpAdA9E6FvRSJaTgtZRZgNjlC5ZCct//L73ygrpY93CxXpRJDtNqPVg==";
|
||||
};
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "a package manager for JavaScript";
|
||||
homepage = "https://docs.npmjs.com/";
|
||||
license = "Artistic-2.0";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
npm-merge-driver = nodeEnv.buildNodePackage {
|
||||
name = "npm-merge-driver";
|
||||
packageName = "npm-merge-driver";
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl nix jq nodePackages.npm
|
||||
#! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl nix jq nodejs
|
||||
set -euo pipefail
|
||||
|
||||
DRV_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
Loading…
Reference in New Issue
Block a user