Skip test for a dependency

Hi all,

I am trying to build several derivations on top of a different prefix.

I am now stuck in building p11-kit and the packages that depends on it, that are several.

The packages are build on a particular filesystem, which causes the fail of the test. This thing is under control, and I would simply like to skip the test for p11-kit and go on building the rest of the packages that depends on it.

I tried to use overlay for it, doing something like:

self: super: {
        p11-kit = super.p11-kit.overrideAttrs (old: { doChek = false; });
}

This didn’t work, the tests are executed (and fail) anywy.

But at this point I am lost and I don’t know how to move forward.

I can I build p11-kit and the packages that depends on it, in a simple way.

1 Like

Got the same problem. You also need to set doInstallCheck to false.

2 Likes

Thank you!

I tried like this:

self: super: {
        p11-kit = super.p11-kit.overrideAttrs (old: { 
                doChek = false; 
                doInstallCheck = false; 
        });
}

But it is still executing the tests…

Everything worked!

I misspelled doCheck, I spelled as doChek

2 Likes