mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #311430 from Shawn8901/update-ms-python
vscode-extensions.ms-python.python: 2023.1.10091012 -> 2024.5.11021008
This commit is contained in:
commit
a8a3cf536e
@ -21,8 +21,8 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
|
||||
mktplcRef = {
|
||||
name = "python";
|
||||
publisher = "ms-python";
|
||||
version = "2023.1.10091012";
|
||||
hash = "sha256-JosFv6ngJmw1XRILwTZMVxlGIdWFLFQjj4olfnVwAIM=";
|
||||
version = "2024.5.11021008";
|
||||
hash = "sha256-UnI0leRKqCtFLBdGS/UvLuCcxQhibyY0ChmzQ9uytoY=";
|
||||
};
|
||||
|
||||
buildInputs = [ icu ];
|
||||
@ -37,11 +37,11 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
|
||||
postPatch =
|
||||
''
|
||||
# remove bundled python deps and use libs from nixpkgs
|
||||
rm -r pythonFiles/lib
|
||||
mkdir -p pythonFiles/lib/python/
|
||||
ln -s ${python3.pkgs.debugpy}/lib/*/site-packages/debugpy pythonFiles/lib/python/
|
||||
rm -r python_files/lib
|
||||
mkdir -p python_files/lib/python/
|
||||
ln -s ${python3.pkgs.debugpy}/lib/*/site-packages/debugpy python_files/lib/python/
|
||||
buildPythonPath "$propagatedBuildInputs"
|
||||
for i in pythonFiles/*.py; do
|
||||
for i in python_files/*.py; do
|
||||
patchPythonScript "$i"
|
||||
done
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user