fast-cli: 1.0.0 -> 3.0.1 (#130698)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Aaron Zeng 2021-07-20 12:29:52 -04:00 committed by GitHub
parent 01db77414a
commit 528e90adf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1032 additions and 1218 deletions

View File

@ -46,6 +46,17 @@ let
'';
};
fast-cli = super.fast-cli.override ({
nativeBuildInputs = [ pkgs.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
postInstall = ''
wrapProgram $out/bin/fast \
--set PUPPETEER_EXECUTABLE_PATH ${pkgs.chromium.outPath}/bin/chromium
'';
});
hyperspace-cli = super."@hyperspace/cli".override {
nativeBuildInputs = with pkgs; [
makeWrapper
@ -68,10 +79,6 @@ let
meta.broken = since "10";
};
"fast-cli-1.x" = super."fast-cli-1.x".override {
meta.broken = since "10";
};
jshint = super.jshint.override {
buildInputs = [ pkgs.phantomjs2 ];
};
@ -94,14 +101,6 @@ let
meta.mainProgram = "bw";
});
fast-cli = super."fast-cli-1.x".override {
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 = [ pkgs.phantomjs2 ];
};
flood = super.flood.override {
buildInputs = [ self.node-pre-gyp ];
meta.mainProgram = "flood";

View File

@ -90,7 +90,7 @@
, "eslint_d"
, "esy"
, "expo-cli"
, {"fast-cli": "1.x"}
, "fast-cli"
, "fauna-shell"
, "firebase-tools"
, "fixjson"

File diff suppressed because it is too large Load Diff