diff options
author | Ingo Blechschmidt <iblech@web.de> | 2021-02-15 17:08:25 +0100 |
---|---|---|
committer | Ingo Blechschmidt <iblech@web.de> | 2021-02-15 17:12:54 +0100 |
commit | 9961f5178d51339a67fdc9d37621b46fe52003dd (patch) | |
tree | 208393e83914f96b05d77baaf5f827068fd3b461 | |
parent | a0b10452c6a06c493701391035adea999e90786b (diff) | |
download | nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.tar nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.tar.gz nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.tar.bz2 nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.tar.lz nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.tar.xz nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.tar.zst nixpkgs-9961f5178d51339a67fdc9d37621b46fe52003dd.zip |
quickjs: 2019-12-21 -> 2020-11-08
-rw-r--r-- | pkgs/development/interpreters/quickjs/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/quickjs/default.nix b/pkgs/development/interpreters/quickjs/default.nix index 23fe1dc7800..ac70a50eaa7 100644 --- a/pkgs/development/interpreters/quickjs/default.nix +++ b/pkgs/development/interpreters/quickjs/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "quickjs"; - version = "2019-12-21"; + version = "2020-11-08"; src = fetchurl { url = "https://bellard.org/${pname}/${pname}-${version}.tar.xz"; - sha256 = "13hlx6qwrrxmlvvqcr3irxba6zmf05cf54l32vj50wc66s1qd41p"; + sha256 = "0yqqcjxi3cqagw184mqrxpvqg486x7c233r3cp9mxachngd6779f"; }; makeFlags = [ "prefix=${placeholder "out"}" ]; @@ -19,7 +19,6 @@ stdenv.mkDerivation rec { # Programs exit with code 1 when testing help, so grep for a string set +o pipefail qjs --help 2>&1 | grep "QuickJS version" - qjsbn --help 2>&1 | grep "QuickJS version" qjscalc --help 2>&1 | grep "QuickJS version" set -o pipefail @@ -27,9 +26,7 @@ stdenv.mkDerivation rec { echo "console.log('Output from compiled program');" > "$temp" set -o verbose out=$(mktemp) && qjsc "$temp" -o "$out" && "$out" | grep -q "Output from compiled program" - out=$(mktemp) && qjsbnc "$temp" -o "$out" && "$out" | grep -q "Output from compiled program" out=$(mktemp) && qjsc -flto "$temp" -o "$out" && "$out" | grep -q "Output from compiled program" - out=$(mktemp) && qjsbnc -flto "$temp" -o "$out" && "$out" | grep -q "Output from compiled program" ''; meta = with lib; { |