Skip to content

Build failure: nodejs_20 #326150

@agj

Description

@agj

Steps To Reproduce

I ran nix develop --print-build-logs with the following flake.nix:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
  };

  outputs = {
    self,
    nixpkgs,
  }: let
    pkgs = import nixpkgs {system = "x86_64-darwin";};
  in {
    devShell."x86_64-darwin" = pkgs.mkShell {
      buildInputs = with pkgs; [
        nodejs_20
      ];
    };
  };
}

Build log

Console output.

Additional context

  • I'm on macOS Monterey (12.7.5).
  • Once the __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ warnings start showing, it starts looping and the process never exits.

Notify maintainers

@cillianderoiste @aduh95

Thank you, friends, for your work and help. 🙏

Metadata

 - system: `"x86_64-darwin"`
 - host os: `Darwin 21.6.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.2`
 - channels(Ale): `"nixpkgs"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: darwinRunning or building packages on Darwin6.topic: nodejsNode.js is a free, open-source, cross-platform JavaScript runtime environment

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions