Trying to build this flake
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-25.05-darwin";
flake-utils = {
url = "github:numtide/flake-utils";
};
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
nodejs_20
];
};
}
);
}
But getting the error
error: builder for '/nix/store/in8h1w3liqsd3dmms9am9x8n39a9mbsz-nodejs-20.19.2.drv' failed with exit code 2;
last 25 log lines:
> ok 3993 known_issues/test-vm-function-declaration-uses-define
> ---
> duration_ms: 122.34100
> ...
> ok 3994 known_issues/test-vm-ownkeys
> ---
> duration_ms: 128.06400
> ...
> ok 3995 known_issues/test-vm-ownpropertynames
> ---
> duration_ms: 175.21300
> ...
> ok 3996 known_issues/test-vm-ownpropertysymbols
> ---
> duration_ms: 154.23900
> ...
> ok 3997 known_issues/test-vm-timeout-escape-nexttick
> ---
> duration_ms: 834.48500
> ...
>
> Failed tests:
> out/Release/node /private/tmp/nix-build-nodejs-20.19.2.drv-0/node-v20.19.2/test/parallel/test-dgram-udp6-link-local-address.js
> out/Release/node /private/tmp/nix-build-nodejs-20.19.2.drv-0/node-v20.19.2/test/parallel/test-inspector-ip-detection.js
Guessing this isn’t a nixpkgs issue but nodejs itself. Any suggestions how I could skip the tests or ignore the failure?