Displaylink: Difference between revisions

m fix link syntax
note about wlroots_0_18
Line 35: Line 35:
nixpkgs.overlays = [
nixpkgs.overlays = [
   (final: prev: {     
   (final: prev: {     
     wlroots_0_17 = prev.wlroots_0_17.overrideAttrs (old: {                                                                                    
     wlroots_0_17 = prev.wlroots_0_17.overrideAttrs (old: { # you may need to use 0_18
       patches = (old.patches or [ ]) ++ [  
       patches = (old.patches or [ ]) ++ [
         (prev.fetchpatch {
         (prev.fetchpatch {
           url = "https://gitlab.freedesktop.org/wlroots/wlroots/uploads/bd115aa120d20f2c99084951589abf9c/DisplayLink_v2.patch";
           url = "https://gitlab.freedesktop.org/wlroots/wlroots/uploads/bd115aa120d20f2c99084951589abf9c/DisplayLink_v2.patch";
Line 48: Line 48:
systemd.services.dlm.wantedBy = [ "multi-user.target" ];
systemd.services.dlm.wantedBy = [ "multi-user.target" ];
</syntaxhighlight>
</syntaxhighlight>
Note as of [https://github.com/NixOS/nixpkgs/pull/351752 2014-10-30] nixos-unstable sway uses <code>wlroots_0_18</code>. The patch above applies correctly but you will need to invoke sway with the <code>--unsupported-gpu</code> flag.
[https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1823#note_2146862 Source]
[https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1823#note_2146862 Source]


[[Category:Video]]
[[Category:Video]]