python39Packages.debugpy: throw on unsupported system
this fixes failures for example in nixpkgs-review on aarch64-linux
This commit is contained in:
parent
4e285168fe
commit
9f5cc3d58b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ buildPythonPackage rec {
|
|||
"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";
|
||||
"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 = [
|
||||
|
|
Loading…
Reference in a new issue