Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.django_hijack_admin: tweak checkPhase to ensure tests are running against installed package, not source directory

+9 -1
+9 -1
pkgs/development/python-modules/django-hijack-admin/default.nix
··· 17 17 18 18 checkPhase = '' 19 19 runHook preCheck 20 + 21 + # we have to do a little bit of tinkering to convince the tests to run against the installed package, not the 22 + # source directory 23 + mkdir testbase 24 + pushd testbase 25 + mv ../runtests.py . 20 26 ${python.interpreter} runtests.py hijack_admin 27 + popd 28 + 21 29 runHook postCheck 22 30 ''; 23 31 24 32 meta = with stdenv.lib; { 25 33 description = "Admin integration for django-hijack"; 26 - homepage = https://github.com/arteria/django-hijack; 34 + homepage = https://github.com/arteria/django-hijack-admin; 27 35 license = licenses.mit; 28 36 maintainers = with maintainers; [ lsix ]; 29 37 };