zed-editor: 0.180.2 -> 0.181.5
This commit is contained in:
@@ -98,7 +98,7 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "zed-editor";
|
||||
version = "0.180.2";
|
||||
version = "0.181.5";
|
||||
|
||||
outputs =
|
||||
[ "out" ]
|
||||
@@ -110,7 +110,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
owner = "zed-industries";
|
||||
repo = "zed";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4FwQxg3UUE0vFLsy+88Naal+YTCGfNMOtNhnG+W2HiU=";
|
||||
hash = "sha256-wp8CoWEOSScQP2Q+lQJgstzTNNwiy0ONHOy6PjIlFBo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -118,9 +118,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# but builds fine with our standard linker.
|
||||
# This patch removes their linker override from the cargo config.
|
||||
./0001-linux-linker.patch
|
||||
|
||||
# See https://github.com/zed-industries/zed/pull/21661#issuecomment-2524161840
|
||||
"script/patches/use-cross-platform-livekit.patch"
|
||||
];
|
||||
|
||||
postPatch =
|
||||
@@ -128,15 +125,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
''
|
||||
substituteInPlace $cargoDepsCopy/webrtc-sys-*/build.rs \
|
||||
--replace-fail "cargo:rustc-link-lib=static=webrtc" "cargo:rustc-link-lib=dylib=webrtc"
|
||||
''
|
||||
# nixpkgs ships cargo-about 0.7, which is a seamless upgrade from 0.6
|
||||
+ ''
|
||||
substituteInPlace script/generate-licenses \
|
||||
--replace-fail 'CARGO_ABOUT_VERSION="0.6"' 'CARGO_ABOUT_VERSION="0.7"'
|
||||
'';
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-5Y4GH4AP4Ry73w2cUllVTLP3RulJ0cE8B+S//QpjdFc=";
|
||||
cargoHash = "sha256-FATdeVwbSUA/zfWV9TdoS4/fT9KWsekKGjQ34HJW4rk=";
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user