mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
tpm2-tss: use stdenv.buildPlatform.canExecute
This commit is contained in:
parent
bb16748e8c
commit
4b43b3c102
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user