Unverified Commit b06862d7 authored by Colin's avatar Colin Committed by GitHub
Browse files

lua51Packages.libluv: cross-test with lua51Packages.luv (#511103)

parents 1cba4853 642a04a6
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ buildLuarocksPackage rec {
  disabled = luaOlder "5.1";

  passthru = {
    tests.test =
    tests = {
      test =
        runCommand "luv-${version}-test"
          {
            nativeBuildInputs = [ (lua.withPackages (ps: [ ps.luv ])) ];
@@ -81,6 +82,10 @@ buildLuarocksPackage rec {
            EOF
          '';

      # Test libluv too
      inherit (lua.pkgs) libluv;
    };

    updateScript = nix-update-script { };
  };

+5 −0
Original line number Diff line number Diff line
@@ -34,4 +34,9 @@ stdenv.mkDerivation {
    cmake
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ];

  passthru.tests = {
    # Test luv too
    luv = lua.pkgs.luv.passthru.tests.test;
  };
}