From 23e4c6806985843a9158a30b824c0abd41a25976 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 18 Feb 2024 23:45:41 +0000 Subject: [PATCH] flake: add python packages for running the test suite Signed-off-by: Yuxuan Shui --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index d77180e3..3df9d2e2 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = ''