deno: fix sharedLibrary value usage

stdenv.hostPlatform.extensions.sharedLibrary value always contains a
dot, which means find command was trying to match
libswc_common..(so|dylib)
This commit is contained in:
Mark Vainomaa 2021-12-18 15:09:22 +02:00
parent 387783a333
commit f8fa489193
No known key found for this signature in database
GPG Key ID: 1B3F9523B542D315

View File

@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false; doCheck = false;
preInstall = '' preInstall = ''
find ./target -name libswc_common.${stdenv.hostPlatform.extensions.sharedLibrary} -delete find ./target -name libswc_common${stdenv.hostPlatform.extensions.sharedLibrary} -delete
''; '';
postInstall = '' postInstall = ''