Commit 3e55ab18 authored by Valentin Reis's avatar Valentin Reis
Browse files

adds --show-trace when --verbose

parent 2505405e
Pipeline #5478 passed with stage
in 18 seconds
...@@ -268,7 +268,8 @@ nixArguments :: String -> ArgsCommon -> [String] ...@@ -268,7 +268,8 @@ nixArguments :: String -> ArgsCommon -> [String]
nixArguments target ArgsCommon {..} = nixArguments target ArgsCommon {..} =
[unpack argopkgs, "-A", target] [unpack argopkgs, "-A", target]
++ concat [ ["--arg", longform <> "-src", p] | (longform, p) <- overrides ] ++ concat [ ["--arg", longform <> "-src", p] | (longform, p) <- overrides ]
++ (if grafting == Libnrm then [] else ["--arg", "rebuildApps", "false"]) ++ (if grafting == Libnrm then ["--arg", "rebuildApps", "false"] else [])
++ ["--show-trace" | verbosity == Verbose]
data NixCommand = NixBuild | NixShell data NixCommand = NixBuild | NixShell
toCommand :: IsString p => NixCommand -> p toCommand :: IsString p => NixCommand -> p
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment