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
mruby: init at 1.4.1 #44840
mruby: init at 1.4.1 #44840
Conversation
@GrahamcOfBorg build mruby |
Failure on x86_64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: mruby Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: mruby 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.
Fix build
Hi! Thanks for your contribution. I personally was interested in the past into looking at Looked at the Linux building issue and fixed it in my branch here. This also adds the tests, disabling a test that fails on Linux. Feel free to rebase/squash into your commits. If you ever intend to not maintain the package, you can ping me in a PR removing yourself from maintaining it. If you feel fine with the changes, I can also push this directly to your branch, which will trigger a new build, and then merge if everything's fine. Just ask. For the record, if one needs to trace the build: diff --git a/pkgs/development/compilers/mruby/default.nix b/pkgs/development/compilers/mruby/default.nix
index b7213671f76..e68547151b1 100644
--- a/pkgs/development/compilers/mruby/default.nix
+++ b/pkgs/development/compilers/mruby/default.nix
@@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
unset LD
'';
+ # To get a verbose build, directly use `minirake` instead of `make`.
+ buildPhase = ''
+ ruby ./minirake --trace
+ '';
+
installPhase = ''
mkdir $out
cp -R build/host/{bin,lib} $out
|
ff4fd6f
to
44dee02
Compare
@GrahamcOfBorg build mruby |
Failure on aarch64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: mruby Partial log (click to expand)
|
@xeji Sorry, I was pushing possible fixes in order to easily have the expressions available to a linux build environment, but none of them ended up working @samueldr Thank you! Feel free to push those changes, and make yourself a maintainer too; I don't mind the responsibility, but I also don't think of myself as an expert. |
Don't worry, being an expert isn't in itself required for being a maintainers. Sure it helps, but what's even better is caring for the package and somehow tracking its updates. I hope that, as a user, you'll keep track of mruby updates and provide the PRs as they come. @GrahamcOfBorg build mruby |
Failure on x86_64-darwin (full log) Attempted: mruby Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Oh, interesting how the @GrahamcOfBorg build mruby |
I'm not sure of the semantics of `gcc` vs. `ld` for linking, but it makes the difference between working and: ``` /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000401100 ```
Success on x86_64-darwin (full log) Attempted: mruby Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: mruby Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: mruby Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: mruby Partial log (click to expand)
|
I'm surprised it wasn't already in the repository.
sandbox
innix.conf
on non-NixOS)[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)[ ] Tested compilation of all pkgs that depend on this change usingnix-shell -p nox --run "nox-review wip"
./result/bin/
)[ ] Determined the impact on package closure size (by runningnix path-info -S
before and after)