--no-net -> --offline

This commit is contained in:
Domen Kožar 2021-02-01 13:11:42 +00:00
parent b19aec7eeb
commit d0b74e2d25
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -91,7 +91,7 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs
});
addFlag({
.longName = "no-net",
.longName = "offline",
.description = "Disable substituters and consider all previously downloaded files up-to-date.",
.handler = {[&]() { useNet = false; }},
});