eiwd: use stdenv.buildPlatform.canExecute

This commit is contained in:
Peder Bergebakken Sundt 2024-10-21 11:34:18 +02:00
parent d96ebab04a
commit d7b0a7f501

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
# override this to false if you don't want to build python3
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
# prevent the `install-data-local` Makefile rule from running;
# all it does is attempt to `mkdir` the `localstatedir`.