diff --git a/flake.nix b/flake.nix index b100b8a997397fa28991df3812cbce11cf91e4e8..8851bc3bfabcbd82e231386ea4454ef8895694cf 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,9 @@ openssl pkgconfig sqlite libarchive boost + (if lib.versionAtLeast lib.version "20.03pre" + then nlohmann_json + else nlohmann_json.override { multipleHeaders = true; }) nlohmann_json rustc cargo