prusa-slicer: fix build on aarch64-darwin
This commit is contained in:
parent
c7a9d44dc7
commit
1860d8a145
@ -9,6 +9,7 @@
|
||||
, cereal
|
||||
, cgal
|
||||
, curl
|
||||
, darwin
|
||||
, dbus
|
||||
, eigen
|
||||
, expat
|
||||
@ -111,6 +112,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
catch2
|
||||
] ++ lib.optionals withSystemd [
|
||||
systemd
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk_11_0.frameworks.CoreWLAN
|
||||
];
|
||||
|
||||
separateDebugInfo = true;
|
||||
@ -190,6 +193,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://github.com/prusa3d/PrusaSlicer";
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ moredread tweber tmarkus ];
|
||||
platforms = platforms.unix;
|
||||
} // lib.optionalAttrs (stdenv.isDarwin) {
|
||||
mainProgram = "PrusaSlicer";
|
||||
};
|
||||
|
@ -35376,7 +35376,9 @@ with pkgs;
|
||||
|
||||
printrun = callPackage ../applications/misc/printrun { };
|
||||
|
||||
prusa-slicer = darwin.apple_sdk_11_0.callPackage ../applications/misc/prusa-slicer { };
|
||||
prusa-slicer = darwin.apple_sdk_11_0.callPackage ../applications/misc/prusa-slicer {
|
||||
stdenv = if stdenv.isDarwin then overrideLibcxx darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv;
|
||||
};
|
||||
|
||||
super-slicer = darwin.apple_sdk_11_0.callPackage ../applications/misc/prusa-slicer/super-slicer.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user