File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 in {
4848 overlays . default = overlay ;
4949 checks = forAllSys ( system : let
50- pkgs = getpkgs system ;
51- mkCheck = luaname : _ : pkgs . runCommandCC ( "tests-tom" + luaname ) ( let
52- lua = pkgs . ${ luaname } ; # .withPackages (lp: [lp.inspect]);
53- in {
50+ pkgs = getpkgswithoverlay system ;
51+ mkCheck = luaname : _ : pkgs . runCommandCC ( "tests-tom" + luaname ) {
5452 src = self ;
55- LUA_INCDIR = "${ lua } /include" ;
56- LUA = lua . interpreter ;
57- } ) ''
58- mkdir -p "$out" && cd "$src" && {
59- make build test DESTDIR="$out" | tee "$out/test.log";
60- }
61- '' ;
53+ lua = ( pkgs . ${ luaname } . withPackages ( lp : [ lp . ${ APPNAME } ] ) ) . interpreter ;
54+ } "$lua $src/test.lua | tee $out" ;
6255 in builtins . mapAttrs mkCheck l_pkg_enum ) ;
6356 packages = forAllSys ( system : let
6457 pkgs = getpkgswithoverlay system ;
You can’t perform that action at this time.
0 commit comments