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)
commitf8fa489193b5a1df728c2bb22b833b4e8b14b2b5
authorMark Vainomaa <mikroskeem@mikroskeem.eu>
dateSat 18 Dec 2021, 15:09 (5 years ago)
parent387783a
pkgs/development/web/deno/default.nix+1−1
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
4444 doCheck = false;
4545
4646 preInstall = ''
47− find ./target -name libswc_common.${stdenv.hostPlatform.extensions.sharedLibrary} -delete
47+ find ./target -name libswc_common${stdenv.hostPlatform.extensions.sharedLibrary} -delete
4848 '';
4949
5050 postInstall = ''