Skip to content

Commit

Permalink
Merge pull request NixOS#97975 from 06kellyjac/deno_1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Oct 28, 2020
2 parents 4092664 + 2b354c7 commit c5ef62d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions pkgs/development/web/deno/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "deno";
version = "1.3.3";
version = "1.5.0";

src = fetchFromGitHub {
owner = "denoland";
repo = pname;
rev = "v${version}";
sha256 = "0jbnx23f1323sh1rfx8rza2pzr4li4199wblrl4vw4zp5hj4qnkm";
sha256 = "1kl3s5kv3wwh4br6zf0f56bffzjwhgzga93zg39mqry8jvwxp6dx";
fetchSubmodules = true;
};
cargoSha256 = "08zi3ynbi44rdgid9qalgsb5g8dcwclr6ynwxvhi8r0v5i7swwrx";
cargoSha256 = "1m3wd2gjy2b8a3x9wm49n9z02165afv4c3n13pnqsxcqmd9a764f";

# Install completions post-install
nativeBuildInputs = [ installShellFiles ];
Expand All @@ -54,6 +54,9 @@ rustPlatform.buildRustPackage rec {

# TODO: Move to enhanced installShellCompletion when merged: PR #83630
postInstall = ''
# remove test plugin and test server
rm -rf $out/lib $out/bin/test_server
$out/bin/deno completions bash > deno.bash
$out/bin/deno completions fish > deno.fish
$out/bin/deno completions zsh > _deno
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/web/deno/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5ef62d

Please sign in to comment.