nix-config/overlays/freecad.nix
smayzy 9d0b8aa3c2
All checks were successful
nixos config pipeline / show-flake (push) Successful in 27s
nixos config pipeline / deploy (push) Successful in 35s
add freecad overlay to start with x instead of wayland
2026-02-14 16:15:29 +01:00

11 lines
273 B
Nix

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
'';
});
}