aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-28 16:51:10 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-03-28 16:51:10 +0100
commit5f75d56c9bb4937b7cc9b7f20b31ef151adf4497 (patch)
tree6061ae9a816db2b65ee43cdbeddea31720756b73
parentbf0b7e5423866592df75a7271a2c67d886d2cd33 (diff)
flake.nix: Support Nixpkgs 19.09
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b100b8a99..8851bc3bf 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