mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
don't generate links
This commit is contained in:
parent
6efe35770f
commit
1e6bce6594
1 changed files with 4 additions and 6 deletions
|
@ -231,7 +231,6 @@ func Dry(verbose bool, minimal bool, rest ...string) {
|
||||||
log.Info("no packages in minimal set to build")
|
log.Info("no packages in minimal set to build")
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
cmd.Args = append(cmd.Args, append(drvs, "--no-link")...)
|
|
||||||
spinnerMsg = "evaluting for minimal build needs"
|
spinnerMsg = "evaluting for minimal build needs"
|
||||||
} else {
|
} else {
|
||||||
log.Debug("evalutating full nixosConfiguration")
|
log.Debug("evalutating full nixosConfiguration")
|
||||||
|
@ -280,9 +279,6 @@ func NixBuild(nom bool, minimal bool, rest ...string) {
|
||||||
if o.resetCache {
|
if o.resetCache {
|
||||||
cmd.Args = append(cmd.Args, "--narinfo-cache-positive-ttl", "0")
|
cmd.Args = append(cmd.Args, "--narinfo-cache-positive-ttl", "0")
|
||||||
}
|
}
|
||||||
// if o.inCI {
|
|
||||||
// o.ciPreBuild(cmd)
|
|
||||||
// }
|
|
||||||
if minimal {
|
if minimal {
|
||||||
log.Debug("populating args with derivations not already built")
|
log.Debug("populating args with derivations not already built")
|
||||||
drvs := systemPathDrvsToBuild()
|
drvs := systemPathDrvsToBuild()
|
||||||
|
@ -290,9 +286,11 @@ func NixBuild(nom bool, minimal bool, rest ...string) {
|
||||||
log.Info("nothing to build. exiting...")
|
log.Info("nothing to build. exiting...")
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
cmd.Args = append(cmd.Args, drvs...)
|
cmd.Args = append(cmd.Args, append(drvs, "--no-link")...)
|
||||||
}
|
}
|
||||||
|
if !o.inCI {
|
||||||
cmd.Args = append(cmd.Args, "--log-format", "multiline")
|
cmd.Args = append(cmd.Args, "--log-format", "multiline")
|
||||||
|
}
|
||||||
cmd.Args = append(cmd.Args, rest...)
|
cmd.Args = append(cmd.Args, rest...)
|
||||||
exitWithCommand(cmd)
|
exitWithCommand(cmd)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue