Dwm: Difference between revisions

imported>Hypnosis2839
Creating override: fix instructions to get SRI hash
imported>Hypnosis2839
Creating override: simplify override
Line 16: Line 16:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
services.xserver.windowManager.dwm.package = pkgs.dwm.overrideAttrs (oldAttrs: rec {
services.xserver.windowManager.dwm.package = pkgs.dwm.override {
   patches = [
   patches = [
     # for local patch files, replace with relative path to patch file
     # for local patch files, replace with relative path to patch file
Line 29: Line 29:
     })
     })
   ];
   ];
})
}
</syntaxhighlight>
</syntaxhighlight>