-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
prusa-slicer: 2.8.0 -> 2.9.0 #367376
base: master
Are you sure you want to change the base?
prusa-slicer: 2.8.0 -> 2.9.0 #367376
Conversation
49a7f8c
to
b2304c2
Compare
Thank you for taking a look at the 2.9.0 update :) Appreciate you building on my attempt at 2.8.1. |
b2304c2
to
52cf5f5
Compare
Nice stuff! I tested it and it works 👍 @maxammann raised a point in the previous PR that PrusaSlicer exhibits a bug with downloading for Curl versions newer than 7.88.1. Seeing how it's already broken in the current |
I am getting a breakage in the super-slicer-beta package, which I've not yet debugged further, or even checked if it exists prior to this change...
|
The issue comes from the following line: https://github.com/supermerill/SuperSlicer/blob/master/src/occt_wrapper/CMakeLists.txt#L22 It's really strange that the In any case, since --- a/super-slicer.nix
+++ b/super-slicer.nix
@@ -6,6 +6,7 @@
wxGTK31,
prusa-slicer,
libspnav,
+ opencascade-occt_7_6
}:
let
appname = "SuperSlicer";
@@ -129,7 +130,10 @@ let
fetchSubmodules = true;
};
});
- prusa-slicer-wxGTK-override = prusa-slicer.override { wxGTK-override = wxGTK31-prusa; };
+ prusa-slicer-dependencies-override = prusa-slicer.override {
+ wxGTK-override = wxGTK31-prusa;
+ opencascade-occt_7_6_1 = opencascade-occt_7_6;
+ };
allVersions = builtins.mapAttrs (
- _name: version: (prusa-slicer-wxGTK-override.overrideAttrs (override version))
+ _name: version: (prusa-slicer-dependencies-override.overrideAttrs (override version))
) versions; It looks a bit hacky, with the argument |
I don't know if it's something wacky with my setup, but to get it to build for me, I had to also apply this patch:
template constexpr bool IsReadWritableDataStore = IsDataStore && IsWritableDataStore; I'm not sure why this was needed, but I was seeing an error in the build at about 55%. |
I tried to split out the super-slicer package so it no longer had the dependency on prusa-slicer, but I couldn't work out how to get that working. I think the complicating factor is the use of In any case, @jmickelin's approach worked for me, although I modified it slightly to emulate the existing override of wxGTK in super-slicer. I'll push that patch shortly. @cbat98 I'm baffled that you're seeing that error when it's working fine for me building out of the nixpkgs tree. Possibly you have an overlay confusing things? How do you get on with |
...oh, that's odd. I'm now seeing a build failure as well, which looks like the same build failure as @cbat98 saw. I was building at the tip of my branch, but it looks like the build is broken by something else that's changed since I branched off...
|
...that was daft. I backed out 910f66b because I'd interpreted the error I saw to mean the patch wasn't necessary. Turns out it just means the file the patch was applying to was in a different file. Assuming it doesn't find any other problems, I'll push an updated branch as soon as my local build has finished. |
At the same time fix the paths in a manual patch, and fix the version of Boost to meet the build requirements.
When overriding the postPatch attribute from prusa-slicer, handle the scenario where prusa-slicer doesn't have a postPatch attribute, as well as the scenario where it does.
super-slicer is built by overriding prusa-slicer, and the updated libraries as part of the update of prusa-slicer to v2.9.0 broke super-slicer's pinned libraries. Ideally we'd split off super-slicer as a separate package rather than continuing to make changes in prusa-slicer then undo them in super-slicer, but that seems to be a much more substantial job, so stick with the simple approach for now.
b432eed
to
1bd956f
Compare
There we go!
|
Update Prusa Slicer to the latest v2.9.0. This builds on @cbat98's as-yet unmerged PR for v2.8.1 in #358215.
Changelog:
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.