diff --git a/pkgs/development/python-modules/pyqt/4.x.nix b/pkgs/development/python-modules/pyqt/4.x.nix index 92b74c952fac..31294c8dc98d 100644 --- a/pkgs/development/python-modules/pyqt/4.x.nix +++ b/pkgs/development/python-modules/pyqt/4.x.nix @@ -3,7 +3,7 @@ let version = "4.11.3"; in stdenv.mkDerivation { - name = "PyQt-x11-gpl-${version}"; + name = "${python.libPrefix}-PyQt-x11-gpl-${version}"; src = fetchurl { url = "mirror://sourceforge/pyqt/PyQt4/PyQt-${version}/PyQt-x11-gpl-${version}.tar.gz"; diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index b89052602d9a..bb1d91b3ca83 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -3,7 +3,7 @@ let version = "5.4.2"; in stdenv.mkDerivation { - name = "PyQt-${version}"; + name = "${python.libPrefix}-PyQt-${version}"; meta = with stdenv.lib; { description = "Python bindings for Qt5";