add freecad overlay to start with x instead of wayland
All checks were successful
nixos config pipeline / show-flake (push) Successful in 27s
nixos config pipeline / deploy (push) Successful in 35s

This commit is contained in:
smayzy 2026-02-14 16:15:29 +01:00
parent 91ff1c9b59
commit 9d0b8aa3c2
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{ {
fix-jdk8 = import ./fix-jdk8.nix; fix-jdk8 = import ./fix-jdk8.nix;
freecad = import ./freecad.nix;
} }

10
overlays/freecad.nix Normal file
View File

@ -0,0 +1,10 @@
final: prev: {
freecad = prev.freecad.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ final.makeWrapper ];
postFixup = (old.postFixup or "") + ''
wrapProgram $out/bin/FreeCAD \
--set QT_QPA_PLATFORM xcb
'';
});
}