Commit 4b43b3c1 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

tpm2-tss: use stdenv.buildPlatform.canExecute

parent bb16748e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
  '';

  doCheck = false;
  doInstallCheck = stdenv.buildPlatform == stdenv.hostPlatform;
  doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
  # Since we rewrote the load path in the dynamic loader for the TCTI
  # The various tcti implementation should be placed in their target directory
  # before we could run tests, so we make turn checkPhase into installCheckPhase