Commit e77269f1 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

visidata: use stdenv.buildPlatform.canExecute

parent 22c69ed6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ buildPythonApplication rec {
  ];

  # check phase uses the output bin, which is not possible when cross-compiling
  doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
  doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;

  checkPhase = ''
    runHook preCheck