@ -46,17 +46,15 @@ with lib;
# Those pieces of software we entirely ignore upstream's handling of, and just
# make sure they're in the path if desired.
let
k3sVersion = " 1 . 2 3 . 5 + k 3 s 1 " ; # k3s git tag
k3sCommit = " 3 1 3 a a c a 5 4 7 f 0 3 0 7 5 2 7 8 8 d c e 6 9 6 f d f 8 c 9 5 6 8 b c 0 3 5 " ; # k3s git commit at the above version
k3sRepoSha256 = " 0 v k 7 2 6 0 9 c y y h 6 4 i r p 1 4 j p 2 z s p n x w 3 4 j m 7 1 0 c b w g k l x 0 c h 6 k i z 8 8 d " ;
k3sVendorSha256 = " s h a 2 5 6 - d 7 k Q s J i / e Q b a T U D g l p 3 g F p c 5 I m 6 C y D 9 c o K e M 3 k M r b j I = " ;
k3sServerVendorSha256 = " s h a 2 5 6 - E 3 U S X N u X Y 0 l z Z H + t 3 O 7 B O Q 8 r K N N Q 6 a v O M I t g O E i 1 c E g = " ;
k3sVersion = " 1 . 2 3 . 6 + k 3 s 1 " ; # k3s git tag
k3sCommit = " 4 1 8 c 3 f a 8 5 8 b 6 9 b 1 2 b 9 c e f b c f f 0 5 2 6 f 6 6 6 a 6 2 3 6 b 9 " ; # k3s git commit at the above version
k3sRepoSha256 = " 0 f m w 4 9 1 d n 5 m p i 0 5 8 m r 7 s i j 5 1 i 5 m 4 q g 2 g r x 3 0 c n l 3 h 2 v 4 s 0 s d k x 2 i " ;
k3sVendorSha256 = " s h a 2 5 6 - i H g 5 y S M a i S W X s 9 8 Y G m x P w d Z r 4 z d B I F m a 1 2 d N E u f 3 0 H s = " ;
# taken from ./manifests/traefik.yaml, extracted from '.spec.chart' https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/download#L9
# The 'patch' and 'minor' versions are currently hardcoded as single digits only, so ignore the trailing two digits. Weird, I know.
traefikChartVersion = " 1 0 . 1 4 . 1 " ;
traefikChartSha256 = " 0 9 a 6 c i a l x 7 n r h 7 n w i 1 g k k h 8 z c s a s x c g b 5 2 d y x 0 r 8 b j q 9 n g 2 9 s i m j " ;
traefikChartVersion = " 1 0 . 1 9 . 3 " ;
traefikChartSha256 = " 0 4 z g 5 l i 9 5 7 s v g s c d m k z m z j k w l j a l j y a v 6 8 r z x m h a k k w g a v 6 q 9 0 5 8 " ;
# taken from ./scripts/version.sh VERSION_ROOT https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L47
k3sRootVersion = " 0 . 1 1 . 0 " ;
@ -68,8 +66,8 @@ let
# taken from go.mod, the 'github.com/containerd/containerd' line
# run `grep github.com/containerd/containerd go.mod | head -n1 | awk '{print $4}'`
containerdVersion = " 1 . 5 . 1 0 - k 3 s 1 " ;
containerdSha256 = " 1 f f 2 s f a q p j i m q 7 w 0 l p r c i 6 i b y i 6 v 6 5 a p 6 b 9 s r 6 b 0 j 1 2 g q r 2 s q w a 5 " ;
containerdVersion = " 1 . 5 . 1 1 - k 3 s 2 " ;
containerdSha256 = " 1 6 1 3 2 s n v r g 8 r 0 v w m 6 c 0 l z 0 q 6 f x 6 8 6 s 2 i x 5 3 n m 3 a k a 9 a 8 3 x s 7 5 v f 2 " ;
# run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag
criCtlVersion = " 1 . 2 2 . 0 - k 3 s 1 " ;
@ -175,7 +173,7 @@ let
version = k3sVersion ;
src = k3sRepo ;
vendorSha256 = k3sServer VendorSha256 ;
vendorSha256 = k3sVendorSha256 ;
nativeBuildInputs = [ pkg-config ] ;
buildInputs = [ libseccomp ] ;
@ -223,7 +221,6 @@ buildGoModule rec {
version = k3sVersion ;
src = k3sRepo ;
proxyVendor = true ;
vendorSha256 = k3sVendorSha256 ;
patches = [