nixVersions.nix_2_7: Propagate nlohmann_json

Just like upstream:
https://github.com/NixOS/nix/blob/2.7.0/flake.nix#L136
This commit is contained in:
Robert Hensing
2022-03-10 15:35:04 +01:00
parent 87fce11f62
commit eeab10bd54
+5 -3
View File
@@ -101,15 +101,17 @@ stdenv.mkDerivation {
lowdown
] ++ lib.optionals (atLeast24 && stdenv.isx86_64) [
libcpuid
] ++ lib.optional (atLeast27) [
nlohmann_json
] ++ lib.optionals withLibseccomp [
libseccomp
] ++ lib.optionals withAWS [
aws-sdk-cpp
];
propagatedBuildInputs = [ boehmgc ];
propagatedBuildInputs = [
boehmgc
] ++ lib.optional (atLeast27) [
nlohmann_json
];
NIX_LDFLAGS = lib.optionals (!atLeast24) [
# https://github.com/NixOS/nix/commit/3e85c57a6cbf46d5f0fe8a89b368a43abd26daba