npth: add musl regression test

Would have caught the issue fixed by
180b5c1c8c ("pkgsMusl.npth: backport patch to fix build").

I used pkgsCross instead of pkgsMusl so it does something useful on
non-Linux.
This commit is contained in:
Alyssa Ross 2024-03-26 13:21:15 +01:00
parent 5b130e5ecb
commit 66e1473eaf
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook }:
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, pkgsCross }:
stdenv.mkDerivation rec {
pname = "npth";
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests = {
musl = pkgsCross.musl64.npth;
};
meta = with lib; {
description = "The New GNU Portable Threads Library";
mainProgram = "npth-config";