make all pytest dependencies also available to impure tests

This commit is contained in:
Jörg Thalheim
2023-09-20 10:58:06 +02:00
committed by lassulus
parent 4096ea3adb
commit 18c360f729
4 changed files with 47 additions and 36 deletions

View File

@@ -8,13 +8,12 @@
export TMPDIR=$(${pkgs.coreutils}/bin/mktemp -d)
trap "${pkgs.coreutils}/bin/chmod -R +w '$TMPDIR'; ${pkgs.coreutils}/bin/rm -rf '$TMPDIR'" EXIT
export PATH="${lib.makeBinPath [
export PATH="${lib.makeBinPath ([
pkgs.coreutils
pkgs.gitMinimal
pkgs.nix
self'.packages.clan-cli.checkPython
]}"
] ++ self'.packages.clan-cli.pytestDependencies)}"
export CLAN_CORE=$TMPDIR/CLAN_CORE
cp -r ${self} $CLAN_CORE