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
cedille: init at v1.0.0 #48288
cedille: init at v1.0.0 #48288
Conversation
I should also probably package the elisp code but that can be a separate PR I think? I need to check what agda does. |
I packaged the elisp now as well. Here's an example of how to set up emacs to use this modes. https://gist.github.com/0971d372954137c4578ae9c06d31414c
|
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.
Would be nice to have the emacs mode patched so that it finds the cedille binary by default, see https://github.com/cedille/cedille/blob/0cac62eef32b49af77c475f1b3f4d271f83a0b4b/cedille-mode.el#L32
Also, eval error needs to be fixed, not sure what's up with that
{ stdenv, fetchFromGitHub, alex, happy, Agda, agdaIowaStdlib, | ||
glibcLocales, ghcWithPackages }: | ||
let | ||
in |
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.
empty let in
I have no idea why CI fails. |
install cedille-mode/*.el cedille-mode/*.elc $out/share/emacs/site-lisp | ||
install *.el *.elc $out/share/emacs/site-lisp | ||
substitute $out/share/emacs/site-lisp/cedille-mode.el $out/share/emacs/site-lisp/cedille-mode.el \ | ||
--replace /usr/bin/cedille ${cedille}/bin/cedille \ |
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.
There's substituteInPlace
for this too
Unexpected error: command failed with exit code 1 on x86_64-darwin (full log) Attempted: cedille Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: cedille Partial log (click to expand)
|
Should be good to merge now. |
Why the hash mismatch on Darwin though? |
Timed out, unknown build status on aarch64-linux (full log) Attempted: cedille Partial log (click to expand)
|
I don't know but it's a standard use of |
Let's just try again, maybe it'll work now @GrahamcOfBorg build cedille |
Unexpected error: command failed with exit code 1 on x86_64-darwin (full log) Attempted: cedille Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: cedille Partial log (click to expand)
|
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.
@LnL7 mentioned in #nixos-borg that it might be unicode normalization on macOS, see also #48128 (comment)
Seems fine to me then :)
Oh actually, one last thing: The commits are named a bit unconventional. First one should be |
Done. |
Unexpected error: command failed with exit code 1 on x86_64-darwin (full log) Attempted: agdaIowaStdlib, cedille Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: agdaIowaStdlib, cedille Partial log (click to expand)
|
Timed out, unknown build status on aarch64-linux (full log) Attempted: cedille Partial log (click to expand)
|
Timed out, unknown build status on aarch64-linux (full log) Attempted: agdaIowaStdlib, cedille Partial log (click to expand)
|
@mpickering The |
@adisbladis Perhaps something which should be fixed by #76653 ? I have not used this package since I packaged it. |
@mpickering Nope, it's not fixed by #76653. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)