fast-cli: pinpoint to a 1.x version, since 2.x requires nodejs 8 or greater

This commit is contained in:
Sander van der Burg
2017-11-05 14:00:27 +01:00
parent 20bb7d5373
commit cf610f8a48
3 changed files with 232 additions and 205 deletions

View File

@@ -61,7 +61,7 @@ nodePackages // {
'';
});
fast-cli = nodePackages.fast-cli.override (oldAttrs: {
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
sed -i -e "s|console.error('Error verifying phantomjs, continuing', err)|console.error('Error verifying phantomjs, continuing', err); return true;|" node_modules/phantomjs-prebuilt/lib/util.js