eiwd: use stdenv.buildPlatform.canExecute
This commit is contained in:
parent
d96ebab04a
commit
d7b0a7f501
@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# override this to false if you don't want to build python3
|
# 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;
|
# prevent the `install-data-local` Makefile rule from running;
|
||||||
# all it does is attempt to `mkdir` the `localstatedir`.
|
# all it does is attempt to `mkdir` the `localstatedir`.
|
||||||
|
Loading…
Reference in New Issue
Block a user