···5151 k3sVersion = "1.24.10+k3s1"; # k3s git tag
5252 k3sCommit = "546a94e9ae1c3be6f9c0dcde32a6e6672b035bc8"; # k3s git commit at the above version
5353 k3sRepoSha256 = "sha256-HfkGb3GtR2wQkVIze26aFh6A6W0fegr8ovpSel7oujQ=";
5454- k3sVendorSha256 = "sha256-YAerisDr/knlKPaO2fVMZA4FUpwshFmkpi3mJAmLqKM=";
5454+ k3sVendorHash = "sha256-YAerisDr/knlKPaO2fVMZA4FUpwshFmkpi3mJAmLqKM=";
55555656 # Based on the traefik charts here: https://github.com/k3s-io/k3s/blob/v1.24.10%2Bk3s1/scripts/download#L29-L32
5757 # see also https://github.com/k3s-io/k3s/blob/v1.24.10%2Bk3s1/manifests/traefik.yaml#L8-L16
···170170 version = k3sVersion;
171171172172 src = k3sRepo;
173173- vendorSha256 = k3sVendorSha256;
173173+ vendorHash = k3sVendorHash;
174174175175 nativeBuildInputs = [ pkg-config ];
176176 buildInputs = [ libseccomp sqlite.dev ];
···221221 version = k3sVersion;
222222223223 src = k3sRepo;
224224- vendorSha256 = k3sVendorSha256;
224224+ vendorHash = k3sVendorHash;
225225226226 postPatch = ''
227227 # Nix prefers dynamically linked binaries over static binary.
···279279 # Specifically, it has a 'go generate' which runs part of the package. See
280280 # this comment:
281281 # https://github.com/NixOS/nixpkgs/pull/158089#discussion_r799965694
282282- # So, why do we use buildGoModule at all? For the `vendorSha256` / `go mod download` stuff primarily.
282282+ # So, why do we use buildGoModule at all? For the `vendorHash` / `go mod download` stuff primarily.
283283 buildPhase = ''
284284 patchShebangs ./scripts/package-cli ./scripts/download ./scripts/build-upload
285285
···5151 k3sVersion = "1.25.3+k3s1"; # k3s git tag
5252 k3sCommit = "f2585c1671b31b4b34bddbb3bf4e7d69662b0821"; # k3s git commit at the above version
5353 k3sRepoSha256 = "0zwf3iwjcidx14zw36s1hr0q8wmmbfc0rfqwd7fmpjq597h8zkms";
5454- k3sVendorSha256 = "sha256-U67tJRGqPFk5AfRe7I50zKGC9HJ2oh+iI/C7qF/76BQ=";
5454+ k3sVendorHash = "sha256-U67tJRGqPFk5AfRe7I50zKGC9HJ2oh+iI/C7qF/76BQ=";
55555656 # taken from ./manifests/traefik.yaml, extracted from '.spec.chart' https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/download#L9
5757 # The 'patch' and 'minor' versions are currently hardcoded as single digits only, so ignore the trailing two digits. Weird, I know.
···169169 version = k3sVersion;
170170171171 src = k3sRepo;
172172- vendorSha256 = k3sVendorSha256;
172172+ vendorHash = k3sVendorHash;
173173174174 nativeBuildInputs = [ pkg-config ];
175175 buildInputs = [ libseccomp sqlite.dev ];
···219219 version = k3sVersion;
220220221221 src = k3sRepo;
222222- vendorSha256 = k3sVendorSha256;
222222+ vendorHash = k3sVendorHash;
223223224224 patches = [
225225 ./0001-script-download-strip-downloading-just-package-CRD.patch
···281281 # Specifically, it has a 'go generate' which runs part of the package. See
282282 # this comment:
283283 # https://github.com/NixOS/nixpkgs/pull/158089#discussion_r799965694
284284- # So, why do we use buildGoModule at all? For the `vendorSha256` / `go mod download` stuff primarily.
284284+ # So, why do we use buildGoModule at all? For the `vendorHash` / `go mod download` stuff primarily.
285285 buildPhase = ''
286286 patchShebangs ./scripts/package-cli ./scripts/download ./scripts/build-upload
287287