pyqt: propagate python for nix-shell

This commit is contained in:
Domen Kožar 2016-08-11 17:26:25 +02:00
parent d4de02c46e
commit 256394be60
2 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@ stdenv.mkDerivation {
${python.executable} configure.py $configureFlags "''${configureFlagsArray[@]}" ${python.executable} configure.py $configureFlags "''${configureFlagsArray[@]}"
''; '';
buildInputs = [ python pkgconfig makeWrapper qt4 lndir ]; buildInputs = [ pkgconfig makeWrapper qt4 lndir ];
propagatedBuildInputs = [ pythonPackages.sip_4_16 ]; propagatedBuildInputs = [ pythonPackages.sip_4_16 python ];
postInstall = '' postInstall = ''
for i in $out/bin/*; do for i in $out/bin/*; do

View File

@ -20,11 +20,11 @@ in stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
python pkgconfig makeWrapper lndir pkgconfig makeWrapper lndir
qtbase qtsvg qtwebkit qmakeHook qtbase qtsvg qtwebkit qmakeHook
]; ];
propagatedBuildInputs = [ sip ]; propagatedBuildInputs = [ sip python ];
configurePhase = '' configurePhase = ''
runHook preConfigure runHook preConfigure