blob: 0f6f4c4747aa7b62c156a9afa2f98aae030133eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ depotdownloader }:
depotdownloader.overrideAttrs({ patches ? [], version, ... }: {
patches = if builtins.elem version [ "2.4.7" "2.5.0"] then
[
# with this, nix has access to the hashes in the manifest
./2_5/0001-emit-json-in-.DepotDownload.patch
# the manifest can arrive out of order across requests to the same build!
# luckily that singular reproducibility snag is patched in 1 line.
./2_5/0002-ProtoManifest-sort-files-in-constructor.patch
]
else if builtins.elem version [ "2.7.3" ] then
[
./2_7/0001-ProtoManifest-sort-files-in-constructor.patch
./2_7/0002-emit-json-in-.DepotDownload.patch
# formatting very the epic
./2_7/0003-thats-just-like-your-opinion-man.patch
]
else builtins.abort "version of DepotDownloader not covered by patches";
})
|