nixpkgs-suyu/pkgs/applications/networking/cluster/k3s
Euan Kemp 6eb941d8c4 k3s: propagate runtime dependencies of the k3s binary
Fixes #101734

Prior to this change, the k3s binary included a tarball containing
binaries like 'kubectl', but didn't keep a runtime reference to those
runtime dependencies in plaintext (since they were gzipped inside the
single combined k3s binary).

In order for nix's automatic runtime dependency detection to work, we
need to have a reference to them somewhere in $out.
propagatedBuildInputs seems to do the right thing for us here.
Running `nix-store -q --tree /nix/store/path/to/k3s` produces a
different output after this change which includes the `libseccomp`
reference I expect.
2020-12-09 00:08:15 -08:00
..
patches k3s: 1.18.8+k3s1 -> 1.19.2-k3s1 2020-10-10 16:17:22 +02:00
default.nix k3s: propagate runtime dependencies of the k3s binary 2020-12-09 00:08:15 -08:00