diff options
Diffstat (limited to 'pkgs/tools/compression/brotli/default.nix')
-rw-r--r-- | pkgs/tools/compression/brotli/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/compression/brotli/default.nix b/pkgs/tools/compression/brotli/default.nix index a63721466dbcd..971a90a84f4ce 100644 --- a/pkgs/tools/compression/brotli/default.nix +++ b/pkgs/tools/compression/brotli/default.nix @@ -15,6 +15,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + cmakeFlags = stdenv.lib.optional + (stdenv.hostPlatform.libc == "msvcrt") "-DCMAKE_SYSTEM_NAME=Windows"; + outputs = [ "out" "dev" "lib" ]; doCheck = true; |