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
Add gcompris
educational package
#37377
Conversation
pkgs/games/gcompris/default.nix
Outdated
|
||
cmakeFlags = "-DQML_BOX2D_LIBRARY=${qmlbox2d}/${qtbase.qtQmlPrefix}/Box2D.2.0"; | ||
|
||
nativeBuildInputs = [ cmake makeWrapper ]; |
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.
Please add ninja when using cmake.
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.
I was not aware of the runtime detection of ninja
by cmake
. Thank you. Fixed.
pkgs/games/gcompris/default.nix
Outdated
sha256 = "1i5adxnhig849qxwi3c4v7r84q6agx1zxkd69fh4y7lcmq2qiaza"; | ||
}; | ||
|
||
enableParallelBuilding = true; |
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.
cmake builds in parallel by default.
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.
Explicit is better than implicit no? Do you really want me to remove it?
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.
Hmm, there are a lot of other attributes that are implicit:) I also think we can let default values to be applied.
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.
Done.
cc6df17
to
e3608b3
Compare
I've got this error:
Any idea about what is happening? |
@nlewo try to install the package in your env : |
@guibou ok, it works with |
e3608b3
to
3aeb95c
Compare
This is a dependency for `gcompris`
814eb92
to
0b0464f
Compare
I fixed the |
@guibou looks like the PR has now been updated. |
Success on x86_64-linux (full log) Attempted: gcompris Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: gcompris Partial log (click to expand)
|
@guibou could you either fix the |
- uses qt 5.9 (qt 5.10 gives runtime error) - add a desktop file
0b0464f
to
74de977
Compare
Done, set to |
@GrahamcOfBorg build qmlbox2d |
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: qmlbox2d Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: qmlbox2d Partial log (click to expand)
|
Thanks... from my child:) |
Motivation for this change
Add
gcompris
, which is a mandatory educational package for kids.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)