Cannot cross-compile cdrkit for aarch64

I’m trying to build cdrkit for aarch64 on x86 machine (nix-build '<nixpkgs>' --arg crossSystem '{ config = "aarch64-linux"; }' -A cdrkit) and it seems that build fails during configure stage: Untitled (9atqc7qs) - PasteCode.io. The problem is that I cannot find CMakeOutput.log and CMakeError.log to understand what goes wrong. How can I ask nix-build to store build folder in /tmp directory?

--keep-failed, then after the build fails it prints path to the kept directory.

1 Like