Files
TapTap 784c57bd13
CI / build-and-test (push) Successful in 48s
CI / build-and-test (pull_request) Successful in 48s
shell: add pytest to nix-shell environment
2026-07-19 15:03:23 +02:00

29 lines
404 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
cmake
gnumake
pkg-config
docker
tea
];
buildInputs = with pkgs; [
zstd
openssl
(python3.withPackages (ps: with ps; [ pytest ]))
];
NIX_ENFORCE_PURITY = 0;
shellHook = ''
export NIX_ENFORCE_PURITY=0
cmake -B build
export PATH="$PWD/build:$PATH"
'';
}