From d97a27b3b94768d1f90ce66c3a4cf607a2b78b8c Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Sun, 22 Sep 2024 20:07:42 -0700 Subject: [PATCH 1/2] Add `ncurses` if process-compose's TUI is enabled process-compose's TUI depends on ncurses --- src/modules/process-managers/process-compose.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/process-managers/process-compose.nix b/src/modules/process-managers/process-compose.nix index 181b99fff..b46c10a31 100644 --- a/src/modules/process-managers/process-compose.nix +++ b/src/modules/process-managers/process-compose.nix @@ -44,7 +44,7 @@ in -U up "$@" & ''; - packages = [ cfg.package ]; + packages = [ cfg.package ] ++ lib.optionals config.process.process-compose.tui pkgs.ncurses; process-managers.process-compose = { configFile = settingsFormat.generate "process-compose.yaml" cfg.settings; From 4bbaa806feb57cff1b72de3bb0837403c190267e Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Sun, 13 Oct 2024 17:50:57 -0700 Subject: [PATCH 2/2] Update src/modules/process-managers/process-compose.nix Co-authored-by: sander --- src/modules/process-managers/process-compose.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/process-managers/process-compose.nix b/src/modules/process-managers/process-compose.nix index b46c10a31..477c91f2f 100644 --- a/src/modules/process-managers/process-compose.nix +++ b/src/modules/process-managers/process-compose.nix @@ -44,7 +44,7 @@ in -U up "$@" & ''; - packages = [ cfg.package ] ++ lib.optionals config.process.process-compose.tui pkgs.ncurses; + packages = [ cfg.package ] ++ lib.optional cfg.tui.enable pkgs.ncurses; process-managers.process-compose = { configFile = settingsFormat.generate "process-compose.yaml" cfg.settings;