-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lspce: 1.0.0-unstable-2024-02-03 -> 1.1.0-unstable-2024-07-13 #326981
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing cargoHash
is enough to fix the build.
The old way of packaging makes more sense to me because lspce
is an Emacs package which uses a dynamic module.
CI show another cargoHash
error. Weird.
Hum, in a certain sense I agree. This package is not really useful outside Emacs. However, the hardest work is made by Rust toolchain, while the Emacs part looks like a wrapper. Because of it I reworked the package this way: a Rust package with an Emacs companion package as passthru. |
Every Emacs package using a dynamic module depends on |
The version change in #316332 causes the change of |
pkgs/applications/editors/emacs/elisp-packages/manual-packages/lspce/module.nix
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lspce.el
fails to compile.
My fix (with some minor improvements such as adding an update script) is available here: https://github.com/atorres1985-contrib/nixpkgs/compare/6837f904c5fad033ff35074903953c0de2a727bf...linj-fork:nixpkgs:tmp-pr/326981
If you are busy, I am willing to create a new PR because it seems that I cannot push to this specific PR for some reason.
Ideally, the bump and the refactor should be two separate PRs. |
- detach Rust module to module.nix - trivialBuild -> melpaBuild - updateScript - adopt (by AndersonTorres) Co-authored-by: Lin Jian <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of changes
Fixing an Emacs package.
related: #278925
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.