Cache intel oneAPI package list
This commit is contained in:
parent
caf0e9545a
commit
534c5dd261
@ -40,15 +40,8 @@ let
|
|||||||
aptPackageIndex = stdenv.mkDerivation {
|
aptPackageIndex = stdenv.mkDerivation {
|
||||||
name = "intel-oneapi-packages";
|
name = "intel-oneapi-packages";
|
||||||
srcs = [
|
srcs = [
|
||||||
# Set the hashes to "" to fetch them
|
# Run update.sh to update the package lists
|
||||||
(fetchurl {
|
./amd64-packages ./all-packages
|
||||||
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=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
8769
bsc/intel-oneapi/all-packages
Normal file
8769
bsc/intel-oneapi/all-packages
Normal file
File diff suppressed because it is too large
Load Diff
34075
bsc/intel-oneapi/amd64-packages
Normal file
34075
bsc/intel-oneapi/amd64-packages
Normal file
File diff suppressed because it is too large
Load Diff
4
bsc/intel-oneapi/update.sh
Executable file
4
bsc/intel-oneapi/update.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user