Skip to content

Commit

Permalink
home-manager: add ncurses to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Jul 18, 2022
1 parent 64c745f commit 30dda62
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions home-manager/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused
, less
, less, ncurses
# used for pkgs.path for nixos-option
, pkgs

Expand Down Expand Up @@ -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}' \
Expand Down

0 comments on commit 30dda62

Please sign in to comment.