python39Packages.debugpy: throw on unsupported system

this fixes failures for example in nixpkgs-review on aarch64-linux
This commit is contained in:
Sandro Jäckel 2021-08-29 22:32:19 +02:00 committed by Martin Weinelt
parent 4e285168fe
commit 9f5cc3d58b

View file

@ -62,7 +62,7 @@ buildPythonPackage rec {
"x86_64-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch x86_64 -o attach_x86_64.dylib"; "x86_64-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch x86_64 -o attach_x86_64.dylib";
"i686-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch i386 -o attach_x86.dylib"; "i686-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch i386 -o attach_x86.dylib";
"aarch64-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch arm64 -o attach_arm64.dylib"; "aarch64-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch arm64 -o attach_arm64.dylib";
}.${stdenv.hostPlatform.system}} }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")}
)''; )'';
checkInputs = [ checkInputs = [