python2: Don't fail silently on module build.
A build output of such a failure can be found here: http://hydra.nixos.org/build/21994789/nixlog/1/raw The build_ext command doesn't return non-zero if it fails but instead produces a file with a "_failed.so" suffix, which we're now checking after the build_ext command. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
7640b92c30
commit
55e66db0fa
@ -144,6 +144,7 @@ let
|
||||
'self.extensions = [ext for ext in self.extensions if ext.name in ["${internalName}"]]'
|
||||
|
||||
python ./setup.py build_ext
|
||||
[ -z "$(find build -name '*_failed.so' -print)" ]
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
|
@ -161,6 +161,7 @@ let
|
||||
'self.extensions = [ext for ext in self.extensions if ext.name in ["${internalName}"]]'
|
||||
|
||||
python ./setup.py build_ext
|
||||
[ -z "$(find build -name '*_failed.so' -print)" ]
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
|
Loading…
Reference in New Issue
Block a user