Merge pull request #4500 from domenkozar/offline

--no-net -> --offline
This commit is contained in:
Eelco Dolstra 2021-02-01 14:55:21 +01:00 committed by GitHub
commit d0a04d1abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; }},
});