1
This commit is contained in:
Motiejus Jakštys 2024-01-14 23:31:23 +02:00
parent a950f87178
commit 7007e9d5f6

View File

@ -41,8 +41,7 @@ stdenv.mkDerivation {
makeWrapper $out/app/manage.py $out/bin/e11sync \ makeWrapper $out/app/manage.py $out/bin/e11sync \
--set GEOIP_PATH "${geoip-archive}" --set GEOIP_PATH "${geoip-archive}"
''; '';
passthru.tests = { passthru.tests.unit =
unit =
runCommand "e11sync-test" { runCommand "e11sync-test" {
buildInputs = [ buildInputs = [
python3Packages.django_5 python3Packages.django_5
@ -56,5 +55,4 @@ stdenv.mkDerivation {
export GEOIP_PATH="${geoip-archive}" export GEOIP_PATH="${geoip-archive}"
${python3}/bin/python3 ./manage.py test ${python3}/bin/python3 ./manage.py test
''; '';
};
} }