lol

nix: Install nlohmann_json headers

+12 -1
+12 -1
pkgs/tools/package-management/nix/default.nix
··· 58 58 ]; 59 59 60 60 buildInputs = 61 - [ curl libsodium openssl sqlite xz bzip2 nlohmann_json 61 + [ curl libsodium openssl sqlite xz bzip2 62 62 brotli boost editline 63 63 ] 64 64 ++ lib.optionals stdenv.isDarwin [ Security ] ··· 209 209 ]; 210 210 }); 211 211 212 + # master: https://github.com/NixOS/nix/pull/5536 213 + # 2.4: https://github.com/NixOS/nix/pull/5537 214 + installNlohmannJsonPatch = fetchpatch { 215 + url = "https://github.com/NixOS/nix/pull/5536.diff"; 216 + sha256 = "sha256-SPnam4xNIjbMgnq6IP1AaM1V62X0yZNo4DEVmI8sHOo="; 217 + }; 218 + 212 219 in rec { 213 220 214 221 nix = nixStable; ··· 241 248 242 249 boehmgc = boehmgc_nixUnstable; 243 250 251 + patches = [ installNlohmannJsonPatch ]; 252 + 244 253 inherit storeDir stateDir confDir; 245 254 }); 246 255 ··· 257 266 }; 258 267 259 268 boehmgc = boehmgc_nixUnstable; 269 + 270 + patches = [ installNlohmannJsonPatch ]; 260 271 261 272 inherit storeDir stateDir confDir; 262 273