mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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 {
|
||||
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 New Issue
Block a user