tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nix: Install nlohmann_json headers
Robert Hensing
4 years ago
2d1be9cd
c9211af9
+12
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
package-management
nix
default.nix
+12
-1
pkgs/tools/package-management/nix/default.nix
···
58
58
];
59
59
60
60
buildInputs =
61
61
-
[ curl libsodium openssl sqlite xz bzip2 nlohmann_json
61
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
212
+
# master: https://github.com/NixOS/nix/pull/5536
213
213
+
# 2.4: https://github.com/NixOS/nix/pull/5537
214
214
+
installNlohmannJsonPatch = fetchpatch {
215
215
+
url = "https://github.com/NixOS/nix/pull/5536.diff";
216
216
+
sha256 = "sha256-SPnam4xNIjbMgnq6IP1AaM1V62X0yZNo4DEVmI8sHOo=";
217
217
+
};
218
218
+
212
219
in rec {
213
220
214
221
nix = nixStable;
···
241
248
242
249
boehmgc = boehmgc_nixUnstable;
243
250
251
251
+
patches = [ installNlohmannJsonPatch ];
252
252
+
244
253
inherit storeDir stateDir confDir;
245
254
});
246
255
···
257
266
};
258
267
259
268
boehmgc = boehmgc_nixUnstable;
269
269
+
270
270
+
patches = [ installNlohmannJsonPatch ];
260
271
261
272
inherit storeDir stateDir confDir;
262
273