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
];
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
0
0
0
0
0
0
0
212
in rec {
213
214
nix = nixStable;
···
241
242
boehmgc = boehmgc_nixUnstable;
243
0
0
244
inherit storeDir stateDir confDir;
245
});
246
···
257
};
258
259
boehmgc = boehmgc_nixUnstable;
0
0
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