|
3 | 3 | stdenv, |
4 | 4 | fetchFromRepoOrCz, |
5 | 5 | gnu-efi, |
6 | | - fetchurl, |
7 | 6 | fetchpatch, |
8 | 7 | libuuid, |
9 | 8 | makeWrapper, |
@@ -31,28 +30,28 @@ stdenv.mkDerivation { |
31 | 30 | archlinuxCommit = "db7884ec80642781edeead3e3bbd883a15b9b3ce"; |
32 | 31 | fetchArchlinuxPatch = |
33 | 32 | name: hash: |
34 | | - fetchurl { |
| 33 | + fetchpatch { |
35 | 34 | url = "https://gitlab.archlinux.org/archlinux/packaging/packages/syslinux/-/raw/${archlinuxCommit}/${name}"; |
36 | 35 | inherit name hash; |
37 | 36 | }; |
38 | 37 | in |
39 | 38 | [ |
40 | 39 | ./gcc10.patch |
41 | | - (fetchArchlinuxPatch "0002-gfxboot-menu-label.patch" "sha256-0f6QhM4lJmGflLige4n7AZTodL7vnyAvi5dIedd/Lho=") |
42 | | - (fetchArchlinuxPatch "0005-gnu-efi-version-compatibility.patch" "sha256-hhCVnfbAFWj/R4yh60qsMB87ofW9RznarsByhl6L4tc=") |
43 | | - (fetchArchlinuxPatch "0025-reproducible-build.patch" "sha256-mnb291pCSFvDNxY7o4BosJ94ib3BpOGRQIiY8Q3jZmI=") |
| 40 | + (fetchArchlinuxPatch "0002-gfxboot-menu-label.patch" "sha256-eoId3jn4eRxItil5naoGMBGOJM/p5FG74ePwxiJ0w/8=") |
| 41 | + (fetchArchlinuxPatch "0005-gnu-efi-version-compatibility.patch" "sha256-5oZ/24emWNPHx621v/9i2xU6rodpVCM0R18hCU35eDk=") |
| 42 | + (fetchArchlinuxPatch "0025-reproducible-build.patch" "sha256-vhth9CFHqChPQPgGhUWVpYwMFnnjoMVIGr7Wfu1jcDY=") |
44 | 43 | (fetchArchlinuxPatch |
45 | 44 | # mbr.bin: too big (452 > 440) |
46 | 45 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414 |
47 | 46 | "0016-strip-gnu-property.patch" |
48 | | - "sha256-lW+E6THuXlTGvhly0f/D9NwYHhkiKHot2l+bz9Eaxp4=" |
| 47 | + "sha256-gn69YHbObqg6uTLPTtu8otNBFuCSyazwxLW3FbTNLX4=" |
49 | 48 | ) |
50 | 49 | (fetchArchlinuxPatch |
51 | 50 | # mbr.bin: too big (452 > 440) |
52 | 51 | "0017-single-load-segment.patch" |
53 | | - "sha256-C6VmdlTs1blMGUHH3OfOlFBZsfpwRn9vWodwqVn8+Cs=" |
| 52 | + "sha256-pGDcP62k50YkGgP0pFp5NSe7X0sojfLCzTmJtba2Yww=" |
54 | 53 | ) |
55 | | - (fetchArchlinuxPatch "0018-prevent-pow-optimization.patch" "sha256-dVzXBi/oSV9vYgU85mRFHBKuZdup+1x1BipJX74ED7E=") |
| 54 | + (fetchArchlinuxPatch "0018-prevent-pow-optimization.patch" "sha256-1+u8Kb6bxRbTPm0QCCt4yViLozzD/+/yspkJasOFM+g=") |
56 | 55 | # Fixes build with "modern" gnu-efi |
57 | 56 | ./import-efisetjmp.patch |
58 | 57 | # Upstream patch: https://www.syslinux.org/archives/2024-February/026903.html |
|
0 commit comments