New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode: 1.6.1 -> 1.7.2 #21033
vscode: 1.6.1 -> 1.7.2 #21033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting:
output path ‘/nix/store/sf7wb7i30hd94d4qpx3z43cff75kmvk9-VSCode-darwin-stable.zip’ has sha256 hash ‘1chl84scngpxdmcmzbciiz50j459xdcjbpcv4vpm5061gfp5qnh9’ when ‘1a1mxmvai2yz0gzmac6nrm5mqrxa2ypwrhf0k8qjim4cbv1cj5h2’ was expected
on OS X.
ow 😞 I'm sorry for that I don't have an osx system here to test with. How come the CI passed if it fails for you? Should I just update the commit with the expected hash you got on osx? |
Linux32: 0n49c6m53vbmhvrb8q0lxqa77r7kivn4n542k8y62bii8hi19ixc |
@uralbash thanks! So I can avoid the same mistake in the future, how should I generate these hashes? |
@xwvvvvwx I use $ nix-prefetch-url 'https://az764295.vo.msecnd.net/stable/07d663dc1bd848161edf4cd4ce30cce410d3d877/code-stable-code_1.5.1-1473369468_i386.tar.gz' |
else if stdenv.system == "x86_64-linux" then | ||
urlBase + "code-stable-code_${version}-1476373175_amd64.tar.gz" | ||
urlBase + "code-stable-code_${version}-1479766213_amd64.tar.gz" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra line not needed
else if stdenv.system == "x86_64-darwin" then "00p2m8b0l3pkf5k74szw6kcql3j1fjnv3rwnhy24wfkg4b4ah2x9" | ||
sha256 = if stdenv.system == "i686-linux" then "0cjjqs40f81h2j3n7sd2g0jj8gfji1kzhbdmdibk2dkr243bs87p" | ||
else if stdenv.system == "x86_64-linux" then "0l3n20rvgrxk2j9962wqmprjz7lnvldkp0yw26yfxl99yvrph68f" | ||
else if stdenv.system == "x86_64-darwin" then "1a1mxmvai2yz0gzmac6nrm5mqrxa2ypwrhf0k8qjim4cbv1cj5h2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hash for darwin:
$ nix-prefetch-url https://az764295.vo.msecnd.net/stable/7ba55c5860b152d999dda59393ca3ebeb1b5c85f/VSCode-darwin-stable.zip
1chl84scngpxdmcmzbciiz50j459xdcjbpcv4vpm5061gfp5qnh9
sha256 = if stdenv.system == "i686-linux" then "1aks84siflpjbd2s9y1f0vvvf3nas4f50cimjf25lijxzjxrlivy" | ||
else if stdenv.system == "x86_64-linux" then "05kbi081ih64fadj4k74grkk9ca3wga6ybwgs5ld0bal4ilw1q6i" | ||
else if stdenv.system == "x86_64-darwin" then "00p2m8b0l3pkf5k74szw6kcql3j1fjnv3rwnhy24wfkg4b4ah2x9" | ||
sha256 = if stdenv.system == "i686-linux" then "0cjjqs40f81h2j3n7sd2g0jj8gfji1kzhbdmdibk2dkr243bs87p" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hash for 32bit Linux:
$ nix-prefetch-url https://az764295.vo.msecnd.net/stable/7ba55c5860b152d999dda59393ca3ebeb1b5c85f/code-
0n49c6m53vbmhvrb8q0lxqa77r7kivn4n542k8y62bii8hi19ixc
else if stdenv.system == "x86_64-darwin" then "00p2m8b0l3pkf5k74szw6kcql3j1fjnv3rwnhy24wfkg4b4ah2x9" | ||
sha256 = if stdenv.system == "i686-linux" then "0cjjqs40f81h2j3n7sd2g0jj8gfji1kzhbdmdibk2dkr243bs87p" | ||
else if stdenv.system == "x86_64-linux" then "0l3n20rvgrxk2j9962wqmprjz7lnvldkp0yw26yfxl99yvrph68f" | ||
else if stdenv.system == "x86_64-darwin" then "1a1mxmvai2yz0gzmac6nrm5mqrxa2ypwrhf0k8qjim4cbv1cj5h2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hash for 64bit Linux:
$ nix-prefetch-url https://az764295.vo.msecnd.net/stable/7ba55c5860b152d999dda59393ca3ebeb1b5c85f/code-
0l3n20rvgrxk2j9962wqmprjz7lnvldkp0yw26yfxl99yvrph68f
@uralbash thanks for all the help! |
Thanks! |
Motivation for this change
Update vscode to the latest stable version
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)