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
1 changed files with 4 additions and 0 deletions

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 = ''