Cache intel oneAPI package list

This commit is contained in:
Rodrigo Arias 2023-07-17 10:52:03 +02:00
parent caf0e9545a
commit 534c5dd261
4 changed files with 42850 additions and 9 deletions

View File

@ -40,15 +40,8 @@ let
aptPackageIndex = stdenv.mkDerivation {
name = "intel-oneapi-packages";
srcs = [
# Set the hashes to "" to fetch them
(fetchurl {
url = "https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages";
sha256 = "sha256-ZaXaicvmuyRB84LYK1mDYWwpdNW+ZHQCV072SuH4EFA=";
})
(fetchurl {
url = "https://apt.repos.intel.com/oneapi/dists/all/main/binary-all/Packages";
sha256 = "sha256-6vuioA0Hl34/AUuBbRYGu3lt+rccqJdpipXQWZ4Nfp8=";
})
# Run update.sh to update the package lists
./amd64-packages ./all-packages
];
phases = [ "installPhase" ];
installPhase = ''

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

4
bsc/intel-oneapi/update.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
curl https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages -o amd64-packages
curl https://apt.repos.intel.com/oneapi/dists/all/main/binary-all/Packages -o all-packages