mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
home-manager: Use --show-trace only when verbose
This commit is contained in:
parent
a3900340e4
commit
d2e8c57bd5
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@ function doBuild() {
|
|||
extraArgs="$extraArgs -I $p"
|
||||
done
|
||||
|
||||
nix-build --show-trace $extraArgs \
|
||||
if [[ $VERBOSE ]]; then
|
||||
extraArgs="$extraArgs --show-trace"
|
||||
fi
|
||||
|
||||
nix-build $extraArgs \
|
||||
"@HOME_MANAGER_EXPR_PATH@" \
|
||||
--argstr modulesPath "@MODULES_PATH@" \
|
||||
--argstr confPath "$confFile" \
|
||||
|
|
Loading…
Reference in a new issue