neuron: fix issue with incorrectly prefixed python path

This commit is contained in:
Adrien Devresse 2016-09-01 13:41:26 +02:00
parent 10b45d654a
commit 28d2d78b55

View File

@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
## standardise python neuron install dir if any
if [[ -d $out/lib/python ]]; then
mkdir -p ''${out}/${python.sitePackages}
mv ''${out}/lib/python ''${out}/${python.sitePackages}
mv ''${out}/lib/python/* ''${out}/${python.sitePackages}/
fi
''];