1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

home-manager: Use --show-trace only when verbose

This commit is contained in:
Robert Helgesson 2017-02-21 21:49:12 +01:00
parent a3900340e4
commit d2e8c57bd5
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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" \