forked from yshui/picom
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'yshui/next' into next
- Loading branch information
Showing
19 changed files
with
219 additions
and
77 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
inputs = { | ||
flake-utils.url = github:numtide/flake-utils; | ||
git-ignore-nix = { | ||
url = github:hercules-ci/gitignore.nix/master; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
}; | ||
outputs = { | ||
self, flake-utils, nixpkgs, git-ignore-nix, ... | ||
}: flake-utils.lib.eachDefaultSystem (system: let | ||
overlay = self: super: { | ||
picom = super.picom.overrideAttrs (oldAttrs: rec { | ||
pname = "picom"; | ||
buildInputs = [ | ||
self.pcre2 self.xorg.xcbutil | ||
] ++ self.lib.remove self.xorg.libXinerama ( | ||
self.lib.remove self.pcre oldAttrs.buildInputs | ||
); | ||
src = git-ignore-nix.lib.gitignoreSource ./.; | ||
}); | ||
}; | ||
pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; }; | ||
overlays = [ overlay ]; | ||
in rec { | ||
inherit overlay overlays; | ||
defaultPackage = pkgs.picom; | ||
devShell = defaultPackage.overrideAttrs { | ||
buildInputs = defaultPackage.buildInputs ++ [ | ||
pkgs.clang-tools | ||
]; | ||
}; | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.