diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2024-03-22 09:08:28 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2024-03-22 09:08:28 -0400 |
commit | 198d32f50b7c3740bec72c43dcf4f17f48dd5d14 (patch) | |
tree | 523506f6360c7984003ef6678112fe0ed21f289c | |
parent | 0cb727d0b55b974c6790792a2143eaabb99ba6e1 (diff) | |
download | nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.tar nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.tar.gz nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.tar.bz2 nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.tar.lz nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.tar.xz nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.tar.zst nixlib-198d32f50b7c3740bec72c43dcf4f17f48dd5d14.zip |
python3Packages.dbf: fix build
Broken in 63155af44bade56465b69493dcdd2a4e65921ffc. Failed with: > Traceback (most recent call last): > File "/build/dbf-0.99.9/dbf/./test.py", line 15, in <module> > from . import * > ImportError: attempted relative import with no known parent package Relative imports only work when running as a module, not directly as a file.
-rw-r--r-- | pkgs/development/python-modules/dbf/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/dbf/default.nix b/pkgs/development/python-modules/dbf/default.nix index 7858cf4a4ef6..eb64e3795937 100644 --- a/pkgs/development/python-modules/dbf/default.nix +++ b/pkgs/development/python-modules/dbf/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { ]; checkPhase = '' - ${python.interpreter} dbf/test.py + ${python.interpreter} -m dbf.test ''; pythonImportsCheck = [ |