When I cross crompile a nixpkgs overlay on aarch64-darwin that depends on pkgs.eigen, I get the following logs:
⎿ Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/80029qwc79d4wql72djrlndrrb7rhnpi-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/6yayhdb6xlj7ax9zrzb8ld7fvwwykd5f-include-dir.patch
/nix/store/mrvg4qq09d51w5s95v15y4ym05q009fd-stdenv-darwin/setup: line 1421: /nix/store/6yayhdb6xlj7ax9zrzb8ld7fvwwykd5f-include-dir.patch: No such file or directory
Here’s the eigen src, nixpkgs/pkgs/development/libraries/eigen/default.nix at 1d3aeb5a193b9ff13f63f4d9cc169fb88129f860 · NixOS/nixpkgs · GitHub .
I can see that it includes a patch with a relative path, I’m confused why the patch isn’t found.