fixup! feat: add docker-client package to image
Some checks failed
/ build (push) Failing after 1m39s

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-06-27 15:48:20 +02:00
parent 82d0bbb437
commit afdcd7fa93

View file

@ -7,8 +7,7 @@
};
outputs =
{ self
, flake-utils
{ flake-utils
, nix
, nixpkgs
, ...
@ -18,9 +17,8 @@
pkgs = (import nixpkgs) {
inherit system;
};
lib = pkgs.lib;
in
rec {
{
packages = rec {
# a modified version of the nixos/nix image
# re-using the upstream nix docker image generation code
@ -30,6 +28,7 @@
maxLayers = 10;
extraPkgs = with pkgs; [
nodejs_20 # nodejs is needed for running most 3rdparty actions
docker-client
# add any other pre-installed packages here
];
# change this is you want
@ -60,7 +59,7 @@
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [ pkgs.coreutils-full pkgs.docker-client ];
paths = [ pkgs.coreutils-full ];
pathsToLink = [ "/bin" ]; # add coreutuls (which includes sleep) to /bin
};
};