Skip to content

Commit

Permalink
net-libs/nodejs: disable npm by default
Browse files Browse the repository at this point in the history
Nodejs takes up 2g with npm enabled and 50 m otherwise.
I don't know of a reason it was enabled by default, so I'm disabling it
to save space.

Closes: https://bugs.gentoo.org/924458
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Sep 4, 2024
1 parent 13a4731 commit da41d7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net-libs/nodejs/nodejs-18.20.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
S="${WORKDIR}/node-v${PV}"
fi

IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl systemtap test"
IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl systemtap test"
REQUIRED_USE="inspector? ( icu ssl )
npm? ( ssl )
system-icu? ( icu )
Expand Down
2 changes: 1 addition & 1 deletion net-libs/nodejs/nodejs-20.17.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
S="${WORKDIR}/node-v${PV}"
fi

IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
REQUIRED_USE="inspector? ( icu ssl )
npm? ( ssl )
system-icu? ( icu )
Expand Down
2 changes: 1 addition & 1 deletion net-libs/nodejs/nodejs-22.7.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
S="${WORKDIR}/node-v${PV}"
fi

IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
REQUIRED_USE="inspector? ( icu ssl )
npm? ( ssl )
system-icu? ( icu )
Expand Down

0 comments on commit da41d7d

Please sign in to comment.