1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-25 14:06:08 -05:00

flake: add python packages for running the test suite

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-02-18 23:45:41 +00:00
parent 336943d99c
commit 23e4c68069
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -30,6 +30,9 @@
src = git-ignore-nix.lib.gitignoreSource ./.;
});
};
python = pkgs.python3.withPackages (ps: with ps; [
xcffib pip
]);
pkgs = import nixpkgs {
inherit system overlays;
@ -47,6 +50,7 @@
nativeBuildInputs = o.nativeBuildInputs ++ (with pkgs; [
clang-tools_17
llvmPackages_17.clang-unwrapped.python
python
]);
hardeningDisable = ["fortify"];
shellHook = ''