1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

Add coreutils to PATH of main script also.

This commit is contained in:
Christopher League 2017-05-16 10:09:18 -04:00
parent 36a5129036
commit 1a7191a812
2 changed files with 3 additions and 0 deletions

View file

@ -28,6 +28,7 @@ pkgs.stdenv.mkDerivation {
substituteInPlace $out/bin/home-manager \
--subst-var-by bash "${pkgs.bash}" \
--subst-var-by coreutils "${pkgs.coreutils}" \
--subst-var-by MODULES_PATH '${modulesPath}' \
--subst-var-by HOME_MANAGER_EXPR_PATH "${homeManagerExpr}"
'';

View file

@ -1,5 +1,7 @@
#!@bash@/bin/bash
PATH=@coreutils@/bin:$PATH
set -euo pipefail
function doBuild() {