···11 sha256 = "0p92i0hx2k3g8mwrcy339b56bfq8qgpb65id8xllkgd2ns4wi9zi";
12 };
1300000000014 nativeBuildInputs = [
15 # cmake can be built with the system jsoncpp, or its own bundled version.
16 # Obviously we cannot build it against the system jsoncpp that doesn't yet exist, so
···11 sha256 = "0p92i0hx2k3g8mwrcy339b56bfq8qgpb65id8xllkgd2ns4wi9zi";
12 };
1314+ /* During darwin bootstrap, we have a cp that doesn't understand the
15+ * --reflink=auto flag, which is used in the default unpackPhase for dirs
16+ */
17+ unpackPhase = ''
18+ cp -a ${src} ${src.name}
19+ chmod -R +w ${src.name}
20+ export sourceRoot=${src.name}
21+ '';
22+23 nativeBuildInputs = [
24 # cmake can be built with the system jsoncpp, or its own bundled version.
25 # Obviously we cannot build it against the system jsoncpp that doesn't yet exist, so