mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
add reset-cache
This commit is contained in:
parent
13380ee6d8
commit
caaaea00d5
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ func showDryRunResult(nixOutput string, verbose bool) {
|
|||
func Dry(verbose bool, minimal bool, rest ...string) {
|
||||
cmd := exec.Command("nix", "build", "--dry-run")
|
||||
cmd.Args = append(cmd.Args, rest...)
|
||||
if o.resetCache {
|
||||
cmd.Args = append(cmd.Args, "--narinfo-cache-positive-ttl", "0")
|
||||
}
|
||||
var spinnerMsg string
|
||||
if minimal {
|
||||
drvs := systemPathDrvsToBuild()
|
||||
|
|
Loading…
Reference in a new issue