vtk: Don't open-code python.sitePackages
As suggested by @SuperSandro2000 in #208522.
This commit is contained in:
parent
57556157c9
commit
79d6df1b09
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ in stdenv.mkDerivation rec {
|
|||
postInstall = optionalString enablePython ''
|
||||
substitute \
|
||||
${./vtk.egg-info} \
|
||||
$out/lib/python${python.pythonVersion}/site-packages/vtk-${version}.egg-info \
|
||||
$out/${python.sitePackages}/vtk-${version}.egg-info \
|
||||
--subst-var-by VTK_VER "${version}"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue