emscriptenPackages.zlib: fix checks

Co-authored-by: Alexander Khovansky <alex@khovansky.me>
launchpad/nixpkgs/master
Yureka 3 years ago
parent 691464d120
commit 0d8f36923a
  1. 2
      pkgs/top-level/emscripten-packages.nix

@ -163,7 +163,7 @@ rec {
echo "Compiling a custom test"
set -x
emcc -O2 -s EMULATE_FUNCTION_POINTER_CASTS=1 test/example.c -DZ_SOLO \
libz.so.${old.version} -I . -o example.js
-L. libz.so.${old.version} -I . -o example.js
echo "Using node to execute the test"
${pkgs.nodejs}/bin/node ./example.js

Loading…
Cancel
Save