lol

nix: Install nlohmann_json headers

+12 -1
+12 -1
pkgs/tools/package-management/nix/default.nix
··· 58 ]; 59 60 buildInputs = 61 - [ curl libsodium openssl sqlite xz bzip2 nlohmann_json 62 brotli boost editline 63 ] 64 ++ lib.optionals stdenv.isDarwin [ Security ] ··· 209 ]; 210 }); 211 212 in rec { 213 214 nix = nixStable; ··· 241 242 boehmgc = boehmgc_nixUnstable; 243 244 inherit storeDir stateDir confDir; 245 }); 246 ··· 257 }; 258 259 boehmgc = boehmgc_nixUnstable; 260 261 inherit storeDir stateDir confDir; 262
··· 58 ]; 59 60 buildInputs = 61 + [ curl libsodium openssl sqlite xz bzip2 62 brotli boost editline 63 ] 64 ++ lib.optionals stdenv.isDarwin [ Security ] ··· 209 ]; 210 }); 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 + 219 in rec { 220 221 nix = nixStable; ··· 248 249 boehmgc = boehmgc_nixUnstable; 250 251 + patches = [ installNlohmannJsonPatch ]; 252 + 253 inherit storeDir stateDir confDir; 254 }); 255 ··· 266 }; 267 268 boehmgc = boehmgc_nixUnstable; 269 + 270 + patches = [ installNlohmannJsonPatch ]; 271 272 inherit storeDir stateDir confDir; 273