jsoncpp: don't rely on coreutils cp

Shea Levy 7e1286bf 206d63ed

+9
+9
pkgs/development/libraries/jsoncpp/default.nix
··· 11 11 sha256 = "0p92i0hx2k3g8mwrcy339b56bfq8qgpb65id8xllkgd2ns4wi9zi"; 12 12 }; 13 13 14 + /* 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 + 14 23 nativeBuildInputs = [ 15 24 # cmake can be built with the system jsoncpp, or its own bundled version. 16 25 # Obviously we cannot build it against the system jsoncpp that doesn't yet exist, so