cmd/nix-tool: disable binary cache for chroot store
This commit is contained in:
@@ -39,7 +39,14 @@ func main() {
|
||||
var extraArgs []string
|
||||
flagStore = strings.TrimSpace(flagStore)
|
||||
if flagStore != string(os.PathSeparator) {
|
||||
extraArgs = append(extraArgs, "--store", flagStore)
|
||||
extraArgs = append(extraArgs,
|
||||
"--store", flagStore,
|
||||
// do not use any binary cache
|
||||
nix.FlagOption, nix.OptionBuildUseSubstitutes, nix.ValueFalse,
|
||||
nix.FlagOption, nix.OptionSubstituters, "",
|
||||
nix.FlagOption, nix.OptionTrustedSubstituters, "",
|
||||
nix.FlagOption, nix.OptionTrustedPublicKeys, "",
|
||||
)
|
||||
}
|
||||
|
||||
var stderr io.Writer
|
||||
|
||||
Reference in New Issue
Block a user