icc: use fetchTarball

This commit is contained in:
Rodrigo Arias 2020-07-23 19:00:03 +02:00
parent 1e54fbdc43
commit 215b104174

View File

@ -1,5 +1,4 @@
{ stdenv { stdenv
, fetchurl
, rpmextract , rpmextract
, autoPatchelfHook , autoPatchelfHook
, gcc , gcc
@ -19,9 +18,9 @@ stdenv.mkDerivation rec {
composer_xe_dir="compilers_and_libraries_${year}.${v_a}.${v_b}"; composer_xe_dir="compilers_and_libraries_${year}.${v_a}.${v_b}";
tgz="parallel_studio_xe_2020_update${update}_cluster_edition.tgz"; tgz="parallel_studio_xe_2020_update${update}_cluster_edition.tgz";
src = fetchurl { src = builtins.fetchTarball {
url = "http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/${dir_nr}/${tgz}"; url = "http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/${dir_nr}/${tgz}";
sha256 = "1axblai5lmw9yqjaz7lvjraj5fsc7r37pklb9x3n1gdjfbgdh4gx"; sha256 = "1yg2q01ra37ywd7mmgcvkxpsvjz31af91ibybndxn2s0fz7lxibp";
}; };
buildInputs = [ buildInputs = [