From 7612f521a12c82aebe26651d55ba544bb0b81682 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Fri, 23 Jan 2026 17:54:24 -0600 Subject: [PATCH] Add sleep command --- img/builder.nix | 3 +-- lib.nix | 26 +++++++++++--------------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/img/builder.nix b/img/builder.nix index 20bd820..67cdd05 100644 --- a/img/builder.nix +++ b/img/builder.nix @@ -5,7 +5,6 @@ nix, nix-output-monitor, nodejs_24, - pkgs, podman, writeTextFile, @@ -27,7 +26,7 @@ let in lib'.mkImage { name = name "builder"; - contents = [ + contents = lib'.basePackages ++ [ buildah git nix diff --git a/lib.nix b/lib.nix index 7484ea7..26d8e00 100644 --- a/lib.nix +++ b/lib.nix @@ -1,21 +1,17 @@ { pkgs, ... }: { - basePackages = with pkgs; rec { - copyToRoot = paths; - paths = [ - bashInteractive - cacert - coreutils-full - dockerTools.binSh - dockerTools.caCertificates - dockerTools.shadowSetup - dockerTools.usrBinEnv - findutils - gnugrep - gnused - ]; - }; + basePackages = with pkgs; [ + bashInteractive + cacert + coreutils-full + dockerTools.binSh + dockerTools.caCertificates + dockerTools.usrBinEnv + findutils + gnugrep + gnused + ]; mkImage = options: