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,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook }:
|
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, pkgsCross }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "npth";
|
pname = "npth";
|
||||||
|
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
musl = pkgsCross.musl64.npth;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The New GNU Portable Threads Library";
|
description = "The New GNU Portable Threads Library";
|
||||||
mainProgram = "npth-config";
|
mainProgram = "npth-config";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user