Commit 2d992c6f authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

utox: use stdenv.buildPlatform.canExecute

parent 60c99f1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
    "-DENABLE_TESTS=${if doCheck then "ON" else "OFF"}"
  ];

  doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
  doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
  nativeCheckInputs = [ check ];

  meta = with lib; {