-
Notifications
You must be signed in to change notification settings - Fork 3
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
Nix package PoC #7
base: master
Are you sure you want to change the base?
Conversation
I like the the idea of Nix-ifying the build, however I'm quite new to Nix. A couple of things though:
I feel like there was a '3.' but I cant think of it now ;) As for releases: I want to be able to build distributable packages for at least two OSs before doing that and then have CI create a package with each release. I have a PoC to build a *.dmg or macOS and I've set up a Windows and Linux test machine … releases coming "soon"-ish :) |
Oh, I rembered 3: adding nix-build to the CI ;) Doesn't mean you have to do it, specifically, but if the feature "builds under Nix" is in the software I want it at least tested. |
(self: super: {
explicitcad = self.libsForQt5.callPackage ./explicitcad.nix {};
}) and expose it via |
so did qmake …
which is imo the correct capitalization. Or "ExplicitCAD" … idk.
Ok, good to know. |
- use install target from explicitcad.pro - compile on mac
I took the liberty of rebasing the changes in this PR on top of the current master. I hope I did it right and didn't break anything. |
LGTM! 👍 I've marked it is ready, feel free to squash / merge / reword my XXX commit. |
Allows to build
explicitcad
with Nix usingnix-build
. Afterwards it can be launched using./result/bin/explicitcad
wrapper, which also sets PATH correctly to containextopenscad
binary so stuff just works^TM.Creating a draft PR so I don't forget about this - let me know when you feel like it's a good time to submit this as a NixOS package, ideally some releases/tags would be cool so I don't have to pick arbitrary commits from master.