simdjson: add support for pkgsStatic

This commit is contained in:
Tobias Mayer 2021-01-23 13:11:14 +01:00
parent 1b7583ee8f
commit bd627037b1
No known key found for this signature in database
GPG key ID: F8657E90819A1298

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DSIMDJSON_JUST_LIBRARY=ON"
];
] ++ lib.optional stdenv.hostPlatform.isStatic "-DSIMDJSON_BUILD_STATIC=ON";
meta = with lib; {
homepage = "https://simdjson.org/";