diff options
author | 06kellyjac <dev@j-k.io> | 2022-04-22 14:39:16 +0100 |
---|---|---|
committer | 06kellyjac <dev@j-k.io> | 2022-04-22 19:38:27 +0100 |
commit | 3788e27a24f5b7cdb3f734b775868b66461bfa68 (patch) | |
tree | 7191549cdc8ca14a89b6b72e72c4e9ad48ec78d9 /pkgs/development/web/deno/default.nix | |
parent | 1c4e0fdfd0b5d59998e025456d7efd6da368e113 (diff) | |
download | nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.tar nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.tar.gz nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.tar.bz2 nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.tar.lz nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.tar.xz nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.tar.zst nixpkgs-3788e27a24f5b7cdb3f734b775868b66461bfa68.zip |
deno: 1.20.5 -> 1.21.0
Diffstat (limited to 'pkgs/development/web/deno/default.nix')
-rw-r--r-- | pkgs/development/web/deno/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 1bcb1f4fc60..d61b7433bdf 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -2,7 +2,6 @@ , lib , callPackage , fetchFromGitHub -, rust , rustPlatform , installShellFiles , libiconv @@ -17,15 +16,21 @@ rustPlatform.buildRustPackage rec { pname = "deno"; - version = "1.20.5"; + version = "1.21.0"; src = fetchFromGitHub { owner = "denoland"; repo = pname; rev = "v${version}"; - sha256 = "sha256-j8aYps70yPH7excYdU99zWbtVsr/ok5cRX2Z6DAW0qU="; + sha256 = "sha256-Sv9Keb+6vc6Lr+H/gAi9/4bmBO18gv9bqAjBIpOrtnk="; }; - cargoSha256 = "sha256-NIUb9ifA06cPwMU3tY0lWJLcK8a8hjkdu/nlADPxWNg="; + cargoSha256 = "sha256-EykIg8rU2VBag+3834SwMYkz9ZR6brOo/0NXXvrGqsU="; + + postPatch = '' + # upstream uses lld on aarch64-darwin for faster builds + # within nix lld looks for CoreFoundation rather than CoreFoundation.tbd and fails + substituteInPlace .cargo/config --replace '"-C", "link-arg=-fuse-ld=lld"' "" + ''; # Install completions post-install nativeBuildInputs = [ installShellFiles ]; |