@@ -16,19 +16,21 @@
1616
1717rustPlatform.buildRustPackage rec {
1818 pname = "deno";
19− version = "1.9.2";
19+ version = "1.10.1";
2020
2121 src = fetchFromGitHub {
2222 owner = "denoland";
2323 repo = pname;
2424 rev = "v${version}";
25− sha256 = "sha256-FKhSFqFZhqzrXrJcBc0YBNHoUq0/1+ULZ9sE+LyNQTI=";
25+ sha256 = "sha256-aNStR86biNHwyg3dSI+CGib3XFhL5ZJ55d29E2K9qd0=";
2626 };
27− cargoSha256 = "sha256-Pp322D7YtdpeNnKWcE78tvLh5nFNcrh9oGYX2eCiPzI=";
27+ cargoSha256 = "sha256-JXjiI+fTB0YlnhKO6QfGl4YOEQNfpuWsza2TsM9fwIk=";
2828
2929 # Install completions post-install
3030 nativeBuildInputs = [ installShellFiles ];
3131
32+ buildAndTestSubdir = "cli";
33+
3234 buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ];
3335
3436 # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
@@ -51,9 +53,6 @@ rustPlatform.buildRustPackage rec {
5153 doCheck = false;
5254
5355 postInstall = ''
54− # remove test plugin and test server
55− rm -r $out/lib $out/bin/test_server $out/bin/denort
56−
5756 installShellCompletion --cmd deno \
5857 --bash <($out/bin/deno completions bash) \
5958 --fish <($out/bin/deno completions fish) \