zed-editor: 0.175.5 -> 0.176.1 (#386906)

Changed files
+9 -20
pkgs
+6 -17
pkgs/by-name/ze/zed-editor/0001-generate-licenses.patch
···
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..."
···
-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
pkgs/by-name/ze/zed-editor/package.nix
···
in
rustPlatform.buildRustPackage rec {
pname = "zed-editor";
-
version = "0.175.5";
+
version = "0.176.1";
outputs = [ "out" ] ++ lib.optional buildRemoteServer "remote_server";
···
owner = "zed-industries";
repo = "zed";
tag = "v${version}";
-
hash = "sha256-CeuZv5GFZ9tttpj+4JAgQZcKtPpbE+NxawcW5W0CFws=";
+
hash = "sha256-Onf3mce327oLbvBPTkJIzJNAf145/ogFK+J6+Asuh9w=";
};
patches = [
···
'';
useFetchCargoVendor = true;
-
cargoHash = "sha256-UJAH1hCf/p974GNJtvNMzZs8RkxtJQeLhUBCJjLsapU=";
+
cargoHash = "sha256-hlX4IMpsEqwYrzDvzFUhh6PVqM9U+4kp/bBYG08BPQA=";
nativeBuildInputs =
[