Merge pull request #294429 from marsam/update-luau

luau: 0.615 -> 0.616
This commit is contained in:
Mario Rodas 2024-03-09 06:04:55 -05:00 committed by GitHub
commit 3b7873ea13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,24 +1,16 @@
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, fetchpatch }:
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages }:
stdenv.mkDerivation rec {
pname = "luau";
version = "0.615";
version = "0.616";
src = fetchFromGitHub {
owner = "luau-lang";
repo = "luau";
rev = version;
hash = "sha256-IwiPUiw3bH+9CzIAJqLjGpIBLQ+T0xW7c4jVXoxVZPc=";
hash = "sha256-MmyVBriesSXxMw1KLvRbNhTUKZFCCV3BawAKmGMnhfs=";
};
patches = [
# Fix linker errors. Remove with the next release.
(fetchpatch {
url = "https://github.com/luau-lang/luau/commit/9323be6110beda90ef9d9dcb43e49b9acdc224e5.patch";
hash = "sha256-/uWXbv3ZSpGJ4Q9MYixz50o5HIp5keSaqMSlOq0TbzE=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.libunwind ];