fast-cli: fix build
This commit is contained in:
parent
80486ba971
commit
397fc0daca
@ -53,4 +53,12 @@ nodePackages // {
|
||||
export PATH="$PATH:$tmp"
|
||||
'';
|
||||
});
|
||||
|
||||
fast-cli = nodePackages.fast-cli.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
|
||||
'';
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs2 ];
|
||||
});
|
||||
}
|
||||
|
@ -1027,9 +1027,7 @@ with pkgs;
|
||||
|
||||
fastJson = callPackage ../development/libraries/fastjson { };
|
||||
|
||||
fast-cli = nodePackages.fast-cli.overrideDerivation (old: {
|
||||
buildInputs = old.buildInputs ++ [phantomjs2];
|
||||
});
|
||||
fast-cli = nodePackages.fast-cli;
|
||||
|
||||
fd = callPackage ../tools/misc/fd { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user