diff --git a/flake.nix b/flake.nix index 2f75e07..df6b1f4 100644 --- a/flake.nix +++ b/flake.nix @@ -34,8 +34,6 @@ export EM_CACHE=$PWD/.emscripten_cache cp -r ${pkgs.emscripten}/share/emscripten/cache $EM_CACHE chmod u+rwX -R $EM_CACHE - - function makejs { make -f Makefile.js $@; } ''; }; }; diff --git a/makejs b/makejs new file mode 100755 index 0000000..08aa9e6 --- /dev/null +++ b/makejs @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +make -f Makefile.js $@