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:
parent
36a5129036
commit
1a7191a812
2 changed files with 3 additions and 0 deletions
|
@ -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}"
|
||||
'';
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!@bash@/bin/bash
|
||||
|
||||
PATH=@coreutils@/bin:$PATH
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
function doBuild() {
|
||||
|
|
Loading…
Add table
Reference in a new issue