mirror of
https://github.com/yshui/picom.git
synced 2025-02-24 16:06:42 -05:00
flake: filter out libXext from buildInputs
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
5d3640b79c
commit
5b5174bc52
1 changed files with 7 additions and 4 deletions
11
flake.nix
11
flake.nix
|
@ -15,6 +15,8 @@
|
|||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
# like lib.lists.remove, but takes a list of elements to remove
|
||||
removeFromList = toRemove: list: pkgs.lib.foldl (l: e: pkgs.lib.remove e l) list toRemove;
|
||||
overlay = self: super: {
|
||||
picom = super.picom.overrideAttrs (oldAttrs: rec {
|
||||
version = "11";
|
||||
|
@ -24,10 +26,11 @@
|
|||
self.pcre2
|
||||
self.xorg.xcbutil
|
||||
self.libepoxy
|
||||
]
|
||||
++ self.lib.remove self.xorg.libXinerama (
|
||||
self.lib.remove self.pcre oldAttrs.buildInputs
|
||||
);
|
||||
] ++ (removeFromList [
|
||||
self.xorg.libXinerama
|
||||
self.xorg.libXext
|
||||
self.pcre
|
||||
] oldAttrs.buildInputs);
|
||||
src = git-ignore-nix.lib.gitignoreSource ./.;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue