forked from mirror/dwl
28 lines
771 B
Nix
28 lines
771 B
Nix
{
|
|
description = "dwm for Wayland (requires dwl 0.7)";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs = inputs@{ flake-parts, nixpkgs, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
imports = [
|
|
flake-parts.flakeModules.easyOverlay
|
|
];
|
|
systems = nixpkgs.lib.platforms.unix;
|
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
|
overlayAttrs = {
|
|
zdwl = config.packages.default;
|
|
};
|
|
packages.default = pkgs.dwl.overrideAttrs (old: {
|
|
buildInputs = old.buildInputs ++ (with pkgs; [
|
|
fcft
|
|
libdrm.dev
|
|
]);
|
|
src = ./.;
|
|
});
|
|
};
|
|
};
|
|
}
|