diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2021-12-17 19:01:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 19:01:15 +0100 |
commit | dd2d0191a046bc79f36d3682e8532e0e729608d1 (patch) | |
tree | e946557e7ccf42df6bf833f59c6c85be5757daad | |
parent | 68f347af54696aacd9ab890a4ae9e001a1afc1f8 (diff) | |
parent | 387783a333e60eaafb2f50b5a6f1d53c0b429a60 (diff) |
Merge pull request #151076 from mikroskeem/deno-1.17-update
deno: 1.16.4 -> 1.17.0
-rw-r--r-- | pkgs/development/web/deno/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 0a2a077701723..5ed93c85ff0ed 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -17,15 +17,15 @@ rustPlatform.buildRustPackage rec { pname = "deno"; - version = "1.16.4"; + version = "1.17.0"; src = fetchFromGitHub { owner = "denoland"; repo = pname; rev = "v${version}"; - sha256 = "sha256-lEUEA8TAUCzTViGTSPz3Iw17BIIHr+oQXA0ldWe2T3w="; + sha256 = "sha256-fkgsMPSmJVp62sVKuuHOsOUczFfBoooKNEY3w5f9zbE="; }; - cargoSha256 = "sha256-Y/eN15B3aiIrvhuGykB9sQRGRajEC7t84JQ2U0dHAzo="; + cargoSha256 = "sha256-wzQf5Wb0kxAg5sNxom9qltdkpJbNatA7IK4oVstQXME="; # Install completions post-install nativeBuildInputs = [ installShellFiles ]; @@ -43,6 +43,10 @@ rustPlatform.buildRustPackage rec { # Skipping until resolved doCheck = false; + preInstall = '' + find ./target -name libswc_common.${stdenv.hostPlatform.extensions.sharedLibrary} -delete + ''; + postInstall = '' installShellCompletion --cmd deno \ --bash <($out/bin/deno completions bash) \ |