chore: fix flake dynamic libraries, add binary target#2212
Merged
huacnlee merged 4 commits intolongbridge:mainfrom Apr 13, 2026
Merged
chore: fix flake dynamic libraries, add binary target#2212huacnlee merged 4 commits intolongbridge:mainfrom
huacnlee merged 4 commits intolongbridge:mainfrom
Conversation
huacnlee
reviewed
Apr 7, 2026
| "xim-ctext-0.3.0" = "sha256-pRT4Sz1JU9ros47/7pmIW9kosWOGMOItcnNd+VrvnpE="; | ||
| "zed-font-kit-0.14.1-zed" = "sha256-rxpumYP0QpHW+4e+J1qo5lEZXfBk1LaL/Y0APkUp9cg="; | ||
| "zed-reqwest-0.12.15-zed" = "sha256-p4SiUrOrbTlk/3bBrzN/mq/t+1Gzy2ot4nso6w6S+F8="; | ||
| "zed-scap-0.0.8-zed" = "sha256-BihiQHlal/eRsktyf0GI3aSWsUCW7WcICMsC2Xvb7kw="; |
Member
There was a problem hiding this comment.
Why here need sha256, if we update the crate should we need update here?
If true, this is hard to mantain.
Contributor
Author
There was a problem hiding this comment.
We'd need to update here too, yes.
You are right, I'll simplify this 👌
Replace explicit per-crate output hashes in flake.nix with `allowBuiltinFetchGit = true` so git-based crates can be fetched without maintaining specific hashes.
AzureZee
pushed a commit
to AzureZee/gpui-component
that referenced
this pull request
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2211
Description
I fixed nix setup. It now installs all the required dynamic libraries and configures
LD_LIBRARY_PATHcorrectly.I also added a setup for compiling/running
gpui-component-storydirectly.How to Test
Dev Shell
nix developcargo runBinary Target
nix runto run the program, ornix build./result/bin/gpui-component-storyChecklist
cargo runfor story tests related to the changes.Tested only on my NixOS.