nodePackages_8_x.pnpm: wrap nodejs.passthru.python
This commit is contained in:
parent
83399e3191
commit
5fb1cfb77b
@ -24,13 +24,13 @@ nodePackages // {
|
||||
phantomjs = nodePackages.phantomjs.override (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs2 ];
|
||||
});
|
||||
|
||||
|
||||
webdrvr = nodePackages.webdrvr.override (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs ];
|
||||
|
||||
|
||||
preRebuild = ''
|
||||
mkdir $TMPDIR/webdrvr
|
||||
|
||||
|
||||
ln -s ${pkgs.fetchurl {
|
||||
url = "https://selenium-release.storage.googleapis.com/2.43/selenium-server-standalone-2.43.1.jar";
|
||||
sha1 = "ef1b5f8ae9c99332f99ba8794988a1d5b974d27b";
|
||||
@ -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…
Reference in New Issue
Block a user