Skip to content

Commit

Permalink
Merge pull request NixOS#151076 from mikroskeem/deno-1.17-update
Browse files Browse the repository at this point in the history
deno: 1.16.4 -> 1.17.0
  • Loading branch information
fpletz authored Dec 17, 2021
2 parents 68f347a + 387783a commit dd2d019
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/development/web/deno/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand All @@ -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) \
Expand Down

0 comments on commit dd2d019

Please sign in to comment.