zed-editor: 0.175.5 -> 0.176.1

This commit is contained in:
Benjamin Kitt
2025-03-03 19:48:28 -06:00
parent 099a565131
commit 941cf99422
2 changed files with 9 additions and 20 deletions
@@ -1,10 +1,10 @@
diff --git a/script/generate-licenses b/script/generate-licenses
index 51749a91e2..d3fd7ee351 100755
index 368f63b..c2bf3a5 100644
--- a/script/generate-licenses
+++ b/script/generate-licenses
@@ -16,28 +16,17 @@ cat assets/icons/LICENSES >> $OUTPUT_FILE
echo -e "\n# ###### CODE LICENSES ######\n" >> $OUTPUT_FILE
@@ -18,17 +18,9 @@ echo -n "" > "$OUTPUT_FILE"
echo -e "\n# ###### CODE LICENSES ######\n"
} >> "$OUTPUT_FILE"
-if ! cargo install --list | grep "cargo-about v$CARGO_ABOUT_VERSION" > /dev/null; then
- echo "Installing cargo-about@$CARGO_ABOUT_VERSION..."
@@ -12,22 +12,11 @@ index 51749a91e2..d3fd7ee351 100755
-else
- echo "cargo-about@$CARGO_ABOUT_VERSION is already installed."
-fi
-
echo "Generating cargo licenses"
stderr_file=$(mktemp)
cargo about generate \
- --fail \
-c script/licenses/zed-licenses.toml \
"${TEMPLATE_FILE}" \
2> >(tee "$stderr_file") \
>> $OUTPUT_FILE
"$TEMPLATE_FILE" >> "$OUTPUT_FILE"
-if cat "$stderr_file" | grep -v "\[WARN\]" > /dev/null; then
- echo "Error: License check failed - warnings found" >&2
- exit 1
-fi
sed -i.bak 's/"/"/g' $OUTPUT_FILE
sed -i.bak 's/'/'\''/g' $OUTPUT_FILE # The ` '\'' ` thing ends the string, appends a single quote, and re-opens the string
+3 -3
View File
@@ -96,7 +96,7 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "zed-editor";
version = "0.175.5";
version = "0.176.1";
outputs = [ "out" ] ++ lib.optional buildRemoteServer "remote_server";
@@ -104,7 +104,7 @@ rustPlatform.buildRustPackage rec {
owner = "zed-industries";
repo = "zed";
tag = "v${version}";
hash = "sha256-CeuZv5GFZ9tttpj+4JAgQZcKtPpbE+NxawcW5W0CFws=";
hash = "sha256-Onf3mce327oLbvBPTkJIzJNAf145/ogFK+J6+Asuh9w=";
};
patches = [
@@ -130,7 +130,7 @@ rustPlatform.buildRustPackage rec {
'';
useFetchCargoVendor = true;
cargoHash = "sha256-UJAH1hCf/p974GNJtvNMzZs8RkxtJQeLhUBCJjLsapU=";
cargoHash = "sha256-hlX4IMpsEqwYrzDvzFUhh6PVqM9U+4kp/bBYG08BPQA=";
nativeBuildInputs =
[