indilib: 2.1.6 -> 2.1.9; indi-3rdparty: 2.1.6.2 -> 2.1.9#472825
indilib: 2.1.6 -> 2.1.9; indi-3rdparty: 2.1.6.2 -> 2.1.9#472825wegank merged 3 commits intoNixOS:masterfrom
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
I cannot test darwin, should I mark indilib broken on darwin or not run tests? |
|
I am not sure if the tests are just not working on Darwin or if the package itself also doesn't work there. That would be my main concern how to handle this. |
|
I think it does in principle work on Darwin. They do have special handling for Mac OS in their cake files, so I suppose it would work on principle. Not sure why the tests fail though. |
|
Then we should just disable the tests |
b2ccc1f to
90985c3
Compare
|
I disabled the tests on darwin |
This comment was marked as outdated.
This comment was marked as outdated.
|
I think we need to disable some more things for darwin:
|
90985c3 to
631c1c1
Compare
|
Not sure if the missing installcheck target is a actual problem, at least the install check seems to succeed regardless.
It seems they did not test building the subdirectories independently like they do for their debian packages and we do for the nixpkgs. The macro is defined in the base CMakeLists.txt. I wonder if we need the macro though, from my understanding of the cmake macro it should not do anything by default and only report errors. In this case it should just work if we remove the calls. I pushed a change that removes these lines from the respective CMakeLists.txt. |
|
@SuperSandro2000 could you try running your bot once more? |
This comment was marked as outdated.
This comment was marked as outdated.
3ab883b to
c0fa231
Compare
|
I removed darwin from the platforms for the affected packages and marked them broken for darwin with a comment. Since they break now with autopatchelf I think this is not really solvable without access to a darwin system. |
|
@SuperSandro2000 could you check if darwin now only builds the working packages? |
|
c0fa231 to
f726b65
Compare
|
@SuperSandro2000 thanks, I missed one it seems, fixed now (hopefully). |
f726b65 to
ea84ccd
Compare
|
I updated this PR to include the last update to 2.1.8. I setup nixpkgs-review-gha to test this on darwin and I can now cleanly build it on darwin. @SuperSandro2000 is this looking good now? |
ea84ccd to
b7f2931
Compare
|
pkgs/development/libraries/science/astronomy/indilib/indi-3rdparty.nix
Outdated
Show resolved
Hide resolved
4bcc433 to
e856832
Compare
|
I updated this PR with the latest indi-3rdparty release and I also tried to get darwin to build as many as possible (not sure if they will run) |
|
e856832 to
c775b41
Compare
|
c775b41 to
48f8677
Compare
The autopatchelfhook does not work with Mach-O binaries so remove it on darwin
48f8677 to
4ec0338
Compare
|
|
@wegank @SuperSandro2000 could this be merged now? |
Updated indilib and the 3rdparty drivers to their latest version. They should be updated together
Corrected meta.platforms for darwin and disabled autoPatchElf for Darwin as it fails when hitting Mach-O files.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.