obinskit: fix hash and add necessary referer header
Co-authored-by: Robert Schütz <github@dotlambda.de>
This commit is contained in:
parent
7c6dc82d77
commit
1c37a89390
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://s3.hexcore.xyz/occ/linux/tar/ObinsKit_${version}_x64.tar.gz";
|
||||
sha256 = "1kcn41wmwcx6q70spa9a1qh7wfrj1sk4v4i58lbnf9kc6vasw41a";
|
||||
curlOptsList = [ "--header" "Referer: https://www.hexcore.xyz/" ];
|
||||
hash = "sha256-KhCu1TZsJmcXRSWSTaYOMjt+IA4qqavBwaYzXnkgls0=";
|
||||
};
|
||||
|
||||
unpackPhase = "tar -xzf $src";
|
||||
|
|
Loading…
Reference in a new issue