Working on dwlb

This commit is contained in:
2025-09-19 11:44:17 -04:00
parent 24725fcdb8
commit e745c93495
18 changed files with 5504 additions and 136 deletions

View File

@@ -46,12 +46,17 @@
});
})
(final: prev: {
dwl = prev.dwl.overrideAttrs {
dwl = prev.dwl.overrideAttrs (old: {
src = ./modules/dwl/source;
patches = [
./modules/dwl/patches/focusdir.patch
];
};
# Force rebuild when config.def.h changes by including its content
configContent = builtins.readFile ./modules/dwl/source/config.def.h;
postPatch = ''
# Copy the current config.def.h to config.h
cp config.def.h config.h
'';
buildInputs = old.buildInputs or[] ++ [ final.wlroots ];
nativeBuildInputs = old.nativeBuildInputs or[] ++ [ final.pkg-config final.wayland-scanner final.wayland-protocols ];
});
})
];
in {