Skip to content

Coverage gets reported as 0% when running on NixOS #591

@MaddyGuthridge

Description

@MaddyGuthridge

When I run c8 on my NixOS installation, coverage is reported as 0%. Running against the same repo on Fedora Linux works correctly.

On Fedora:

------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------
File                    | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------
All files               |   75.09 |    76.37 |   82.53 |   75.09 |

On NixOS:

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |       0 |        0 |       0 |       0 |
----------|---------|----------|---------|---------|-------------------

On both systems, I installed node@24 using Mise.

System info:

OS: NixOS 25.11
Node version: v24.14.1
C8 version: 11.0.0
Arch: x86-64

Any suggestions for how I can debug this would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions