nodePackages_10_x.pnpm: init at 2.9.0
This commit is contained in:
@@ -5,4 +5,20 @@ let
|
||||
inherit pkgs system nodejs;
|
||||
};
|
||||
in
|
||||
nodePackages
|
||||
nodePackages // {
|
||||
|
||||
pnpm = nodePackages.pnpm.override {
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = let
|
||||
pnpmLibPath = stdenv.lib.makeBinPath [
|
||||
nodejs.passthru.python
|
||||
nodejs
|
||||
];
|
||||
in ''
|
||||
for prog in $out/bin/*; do
|
||||
wrapProgram "$prog" --prefix PATH : ${pnpmLibPath}
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user