Skip to content

Commit

Permalink
npth: add musl regression test
Browse files Browse the repository at this point in the history
Would have caught the issue fixed by
180b5c1 ("pkgsMusl.npth: backport patch to fix build").

I used pkgsCross instead of pkgsMusl so it does something useful on
non-Linux.
  • Loading branch information
alyssais committed Mar 26, 2024
1 parent 5b130e5 commit 66e1473
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/libraries/npth/default.nix
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook }:
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, pkgsCross }:

stdenv.mkDerivation rec {
pname = "npth";
Expand All @@ -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";
Expand Down

0 comments on commit 66e1473

Please sign in to comment.