From f8fa489193b5a1df728c2bb22b833b4e8b14b2b5 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Sat, 18 Dec 2021 15:09:22 +0200 Subject: [PATCH] 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) --- pkgs/development/web/deno/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 5ed93c85ff0e..0c4f2a353725 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { doCheck = false; preInstall = '' - find ./target -name libswc_common.${stdenv.hostPlatform.extensions.sharedLibrary} -delete + find ./target -name libswc_common${stdenv.hostPlatform.extensions.sharedLibrary} -delete ''; postInstall = ''