From 30dda628bcd0814f65393359a4763f1afaee25a0 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 18 Jul 2022 15:18:05 +0200 Subject: [PATCH] home-manager: add ncurses to PATH Fixes #3097 --- home-manager/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/home-manager/default.nix b/home-manager/default.nix index e0127cdd..ada4e07a 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -1,5 +1,5 @@ { runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused -, less +, less, ncurses # used for pkgs.path for nixos-option , pkgs @@ -31,7 +31,15 @@ in runCommand "home-manager" { substituteInPlace $out/bin/home-manager \ --subst-var-by bash "${bash}" \ --subst-var-by DEP_PATH "${ - lib.makeBinPath [ coreutils findutils gettext gnused less nixos-option ] + lib.makeBinPath [ + coreutils + findutils + gettext + gnused + less + ncurses + nixos-option + ] }" \ --subst-var-by HOME_MANAGER_LIB '${../lib/bash/home-manager.sh}' \ --subst-var-by HOME_MANAGER_PATH '${pathStr}' \