add freecad overlay to start with x instead of wayland
This commit is contained in:
parent
91ff1c9b59
commit
9d0b8aa3c2
@ -1,3 +1,4 @@
|
||||
{
|
||||
fix-jdk8 = import ./fix-jdk8.nix;
|
||||
freecad = import ./freecad.nix;
|
||||
}
|
||||
|
||||
10
overlays/freecad.nix
Normal file
10
overlays/freecad.nix
Normal 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
|
||||
'';
|
||||
});
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user