diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-30 14:52:26 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-30 14:54:48 +0200 |
commit | 523a7c879fcc10de84ebc917a2e1915efc25375d (patch) | |
tree | dea2802873a468817e2d763db3fb9ec1b904d761 | |
parent | ab772d066d122c22b6736ad85591461aa5ac5d47 (diff) | |
download | nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.tar nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.tar.gz nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.tar.bz2 nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.tar.lz nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.tar.xz nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.tar.zst nixlib-523a7c879fcc10de84ebc917a2e1915efc25375d.zip |
python.pkgs.backports_lzma: fix tests
-rw-r--r-- | pkgs/development/python-modules/backports_lzma/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/backports_lzma/default.nix b/pkgs/development/python-modules/backports_lzma/default.nix index c650076d4c00..64fcc2c0d5d4 100644 --- a/pkgs/development/python-modules/backports_lzma/default.nix +++ b/pkgs/development/python-modules/backports_lzma/default.nix @@ -20,9 +20,8 @@ if !(pythonOlder "3.3") then null else buildPythonPackage rec { buildInputs = [ lzma ]; - # Needs the compiled module in $out checkPhase = '' - PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ${python.interpreter} -m unittest discover -s test + ${python.interpreter} test/test_lzma.py ''; meta = { @@ -30,4 +29,4 @@ if !(pythonOlder "3.3") then null else buildPythonPackage rec { homepage = https://github.com/peterjc/backports.lzma; license = lib.licenses.bsd3; }; -} \ No newline at end of file +} |