3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.scfbuild: remove workaround

This commit is contained in:
Nikolay Amiantov 2016-08-17 04:34:25 +03:00
parent 837cf416ce
commit 826c398318

View file

@ -8534,20 +8534,7 @@ in modules // {
installPhase = ''
mkdir -p $out/${python.sitePackages}
cp -r scfbuild $out/${python.sitePackages}
# Workaround for #16133
mkdir -p $out/bin
cat >$out/bin/scfbuild <<EOF
#!/usr/bin/env python2
import sys
from scfbuild.main import main
if __name__ == '__main__':
sys.exit(main())
EOF
chmod +x $out/bin/scfbuild
cp -r bin $out
'';
meta = with stdenv.lib; {