Fix pythonWrapper when all of the binaries come from python

See discussion in #834

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-10-03 15:25:43 -04:00
parent bee1d0716a
commit f6e835a2c3

View file

@ -9,6 +9,9 @@
postBuild = ''
. "${makeWrapper}/nix-support/setup-hook"
if [ -L "$out/bin" ]; then
unlink "$out/bin"
fi
mkdir -p "$out/bin"
cd "${python}/bin"
for prg in *; do