home-manager: Use --show-trace only when verbose
This commit is contained in:
parent
a3900340e4
commit
d2e8c57bd5
|
@ -40,7 +40,11 @@ function doBuild() {
|
||||||
extraArgs="$extraArgs -I $p"
|
extraArgs="$extraArgs -I $p"
|
||||||
done
|
done
|
||||||
|
|
||||||
nix-build --show-trace $extraArgs \
|
if [[ $VERBOSE ]]; then
|
||||||
|
extraArgs="$extraArgs --show-trace"
|
||||||
|
fi
|
||||||
|
|
||||||
|
nix-build $extraArgs \
|
||||||
"@HOME_MANAGER_EXPR_PATH@" \
|
"@HOME_MANAGER_EXPR_PATH@" \
|
||||||
--argstr modulesPath "@MODULES_PATH@" \
|
--argstr modulesPath "@MODULES_PATH@" \
|
||||||
--argstr confPath "$confFile" \
|
--argstr confPath "$confFile" \
|
||||||
|
|
Loading…
Reference in a new issue