Merge pull request #294634 from lytedev/update-deno-1.41.2

deno: 1.41.1 -> 1.41.2
This commit is contained in:
Pol Dellaiera 2024-03-10 14:27:20 +01:00 committed by GitHub
commit 5805043b32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,20 +9,20 @@
, libiconv
, darwin
, librusty_v8 ? callPackage ./librusty_v8.nix { }
,
}:
rustPlatform.buildRustPackage rec {
pname = "deno";
version = "1.41.1";
version = "1.41.2";
src = fetchFromGitHub {
owner = "denoland";
repo = pname;
rev = "v${version}";
hash = "sha256-dbURsob4FLdTK8TiHUnmY4Gjd0bw+EDZu1R0WZJnJG8=";
hash = "sha256-l8He7EM9n8r7OTC6jN6F8ldf3INXxEeaUI1u6AfR7RI=";
};
cargoHash = "sha256-8pENTx8BG23L7m3hlv++KvFY/xOjcXAHuw5V60p4Nh8=";
cargoHash = "sha256-T+6b4bGx7y/7E0CIacKFQ32DCAiNFXFi15ibq7rDfI4=";
postPatch = ''
# upstream uses lld on aarch64-darwin for faster builds
@ -40,8 +40,8 @@ rustPlatform.buildRustPackage rec {
installShellFiles
];
buildInputs = lib.optionals stdenv.isDarwin (
[ libiconv darwin.libobjc ] ++
(with darwin.apple_sdk_11_0.frameworks; [
[ libiconv darwin.libobjc ]
++ (with darwin.apple_sdk_11_0.frameworks; [
Security
CoreServices
Metal