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:
parent
5b130e5ecb
commit
66e1473eaf
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue