Merge pull request #302865 from jfchevrette/ms-python-fix-script
vscode-extensions.ms-python: fix update script
This commit is contained in:
commit
5d60da0079
|
@ -72,7 +72,7 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
curl -sLo $tmp $(echo ${(import ../mktplcExtRefToFetchArgs.nix mktplcRef).url} | sed "s|${mktplcRef.version}|$version|")
|
curl -sLo $tmp $(echo ${(import ../mktplcExtRefToFetchArgs.nix mktplcRef).url} | sed "s|${mktplcRef.version}|$version|")
|
||||||
hash=$(nix hash file --type sha256 --base32 --sri $tmp)
|
hash=$(nix hash file --type sha256 --base32 --sri $tmp)
|
||||||
sed -i -e "s|${mktplcRef.hash}|$hash|" -e "s|${mktplcRef.version}|$version|" pkgs/applications/editors/vscode/extensions/python/default.nix
|
sed -i -e "s|${mktplcRef.hash}|$hash|" -e "s|${mktplcRef.version}|$version|" pkgs/applications/editors/vscode/extensions/ms-python.python/default.nix
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user