How to use nixpkgs-review cross-compile for Darwin on a NixOS host?

I’m trying to build a PR that currently only fails on Darwin. Is there a simple way to use nixpkgs-review (GitHub - Mic92/nixpkgs-review: Review pull-requests on https://github.com/NixOS/nixpkgs) to build the Darwin target? I’m on NixOS.

2 Likes

Hi. I am also looking for a way to build a darwin library on NixOS. Tried with nix-build --arg crossSystem '{ config = "x86_64-darwin"; }' -A PACKAGE to no avail. Did you had any success building a package for darwin?

I still don’t know unfortunately :frowning: