diff --git a/pkgs/by-name/ze/zed-editor/0001-linux-linker.patch b/pkgs/by-name/ze/zed-editor/0001-linux-linker.patch index 4529e038dc2f..5deef7339a72 100644 --- a/pkgs/by-name/ze/zed-editor/0001-linux-linker.patch +++ b/pkgs/by-name/ze/zed-editor/0001-linux-linker.patch @@ -1,5 +1,5 @@ diff --git a/.cargo/config.toml b/.cargo/config.toml -index 07cbc23195..b3c4d43e0f 100644 +index 717c5e1..0bb7b6c 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,14 +5,6 @@ rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"] @@ -14,6 +14,6 @@ index 07cbc23195..b3c4d43e0f 100644 -linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=mold"] - - [target.aarch64-apple-darwin] - rustflags = ["-C", "link-args=-Objc -all_load"] - + [target.'cfg(target_os = "windows")'] + rustflags = [ + "--cfg", diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index 3009a0529cf1..9a0787af7f57 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -99,7 +99,7 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "zed-editor"; - version = "0.186.8"; + version = "0.189.5"; outputs = [ "out" ] @@ -111,7 +111,7 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "zed-industries"; repo = "zed"; tag = "v${finalAttrs.version}"; - hash = "sha256-oSmwEtF8VWSKcBlL11MMThBAJFisXwWQjZAzcNIptt0="; + hash = "sha256-d1d3WgUVamrYWVosljQiEPZGNNDldtM1YwZhxseX4+w="; }; patches = [ @@ -138,7 +138,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; useFetchCargoVendor = true; - cargoHash = "sha256-WH6cQa6DChkUtqh+irIz2hJd5/RW/oln+TZPHunEmNk="; + cargoHash = "sha256-YhdwCNTbBphWugguoWQqrGf2fRB5Jv40MElW6hbcxtk="; nativeBuildInputs = [