nodePackages_8_x.pnpm: wrap nodejs.passthru.python
This commit is contained in:
parent
83399e3191
commit
5fb1cfb77b
@ -66,6 +66,15 @@ nodePackages // {
|
||||
'';
|
||||
});
|
||||
|
||||
pnpm = nodePackages.pnpm.override (oldAttrs: {
|
||||
nativeBuildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
for prog in $out/bin/*; do
|
||||
wrapProgram "$prog" --prefix PATH : ${stdenv.lib.makeBinPath [ nodejs.passthru.python ]}
|
||||
done
|
||||
'';
|
||||
});
|
||||
|
||||
fast-cli = nodePackages."fast-cli-1.x".override (oldAttrs: {
|
||||
preRebuild = ''
|
||||
# Simply ignore the phantomjs --version check. It seems to need a display but it is safe to ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user