diff --git a/pkgs/applications/networking/cluster/k3s/builder.nix b/pkgs/applications/networking/cluster/k3s/builder.nix index 8d66882a8a97..abf25306acab 100644 --- a/pkgs/applications/networking/cluster/k3s/builder.nix +++ b/pkgs/applications/networking/cluster/k3s/builder.nix @@ -23,7 +23,7 @@ lib: # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag criCtlVersion, updateScript ? null, -}: +}@attrs: # builder.nix contains a "builder" expression that, given k3s version and hash # variables, creates a package for that version. @@ -325,6 +325,7 @@ in buildGoModule rec { pname = "k3s"; version = k3sVersion; + pos = builtins.unsafeGetAttrPos "k3sVersion" attrs; tags = [ "libsqlite3"