logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 2116707dd9b7d6b8894492b297eaa073999f8518
parent c17bf40bbc2f9c099221145eadf3f0c70e8a3a68
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 14 Aug 2022 07:56:22 +0200

dev-nodejs/node_env: new package, add 0

Diffstat:

Adev-nodejs/node_path/node_path-0.ebuild17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/node_path/node_path-0.ebuild b/dev-nodejs/node_path/node_path-0.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Define NODE_PATH to /usr/share/nodejs/" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S="${WORKDIR}" + +src_install() { + newenvd - 99node_path <<< "NODE_PATH=/usr/share/nodejs/" +}