lz4: fix cross compilation to linux

This commit is contained in:
Simon Žlender 2023-05-27 12:06:30 +02:00 committed by Alyssa Ross
parent 572e24048b
commit d6ef66212b

View File

@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
]
# TODO make full dictionary
++ lib.optional stdenv.hostPlatform.isMinGW "TARGET_OS=MINGW"
++ lib.optional stdenv.hostPlatform.isLinux "TARGET_OS=Linux"
;
doCheck = false; # tests take a very long time