restricted valid host platforms to MIPS systems

This commit is contained in:
CrepeGoat 2023-10-24 21:06:19 -06:00
parent 64e0928b2b
commit 0431147fdd
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@
}
}:
let
hostPlatformCheck =
with pkgs.stdenv.hostPlatform;
if isMips then null
else abort "cross platform target must be a MIPS target";
in
pkgs.callPackage
({ mkShell
, gnumake42