cargo: fix install check phase when cross
This commit is contained in:
committed by
Alyssa Ross
parent
c1a7369bfb
commit
0b0a0bbaf1
@@ -65,7 +65,7 @@ rustPlatform.buildRustPackage.override {
|
||||
doInstallCheck = !stdenv.hostPlatform.isStatic && stdenv.hostPlatform.isElf;
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
readelf -a $out/bin/.cargo-wrapped | grep -F 'Shared library: [libcurl.so'
|
||||
${stdenv.cc.targetPrefix}readelf -a $out/bin/.cargo-wrapped | grep -F 'Shared library: [libcurl.so'
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user