Unverified Commit 2d88c40e authored by Atemu's avatar Atemu Committed by GitHub
Browse files

k3s: set meta.position to respective version file (#347074)

parents 09eda370 5d2b0d4a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"