Commit Graph

8 Commits

Author SHA1 Message Date
superherointj
f8dc166d73 k3s: 1.23.4+k3s1 -> 1.23.5+k3s1 2022-04-12 13:49:27 -03:00
Euan Kemp
7a7335d43e k3s: v1.22.3+k3s1 -> 1.23.3+k3s1
This PR also reworks the packaging of k3s significantly.

Notably, it makes the following changes:

1. buildGoModule instead of buildGoPackage + mkDerivation (for the final one)
2. Merges the final two derivations (k3s user binary + wrapper script stuff) into one
3. Reduces the amount of patching & usage of upstream packaging scripts

And of course updates to 1.23

I'm not really sure yet if this is significantly better than the
previous packaging model, but it at least seems a little nicer I guess?
buildGoModule is nice, even if we have to hack around it quite a bit to
get a 'go generate' in there.
2022-02-08 00:43:41 -08:00
superherointj
5494ab9fde k3s: 1.21.0+k3s1 -> 1.21.2+k3s1 2021-07-12 12:22:02 -03:00
Euan Kemp
f922b3016c k3s: 1.19.4+k3s2 -> 1.20.4+k3s1
Notably, this includes support for unified cgroups in k3s, which is
especially convenient given nixos has moved to them.

Fixes (at least partly) #111835
2021-03-26 06:31:49 +00:00
Christoph Herzog
549131de56 k3s: 1.18.8+k3s1 -> 1.19.2-k3s1 2020-10-10 16:17:22 +02:00
Euan Kemp
a432801ff3 k3s: 1.17.3 -> 1.18.2
Fairly straightforward update. I properly git format-patch'd the
patches too.
2020-05-31 19:13:09 -07:00
Euan Kemp
e61dc85117 k3s: fix build for aarch64
The upstream project already builds and releases for aarch64. This makes
the couple small tweaks that I found necessary for k3s to cross-compile
for aarch64.

I also ran it through nixpkgs-fmt.
2020-05-09 08:37:06 +02:00
Euan Kemp
e370711ad0 k3s: init at 1.17.3+k3s1
This packages k3s as a single self-contained binary (as upstream k3s
does), but without having to download any impure already-built binaries.

The upstream packaging scripts are used. Due to k3s's rather complicated
packaging arrangement, this ends up being a rather long derivation.
2020-04-05 15:34:18 +02:00