diff options
author | eldritch horrors <pennae@lix.systems> | 2024-05-01 18:01:19 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-06-18 23:58:25 +0000 |
commit | 0b9a72524af84003de4b19b4eef0027d416e0972 (patch) | |
tree | 58258a859445a38df24ecc302611ba82a9074d5c /src/nix/upgrade-nix.cc | |
parent | b9b1bbd22fc3b34a4d8e2090f0d033f742c32ee0 (diff) |
filetransfer: {up,down}load -> transfer
even the transfer function is not all that necessary since there aren't
that many users, but we'll keep it for now. we could've kept both names
but we also kind of want to use `download` for something else very soon
Change-Id: I005e403ee59de433e139e37aa2045c26a523ccbf
Diffstat (limited to 'src/nix/upgrade-nix.cc')
-rw-r--r-- | src/nix/upgrade-nix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/upgrade-nix.cc b/src/nix/upgrade-nix.cc index cbc28fdd7..c7f31f3fb 100644 --- a/src/nix/upgrade-nix.cc +++ b/src/nix/upgrade-nix.cc @@ -286,7 +286,7 @@ struct CmdUpgradeNix : MixDryRun, EvalCommand // FIXME: use nixos.org? auto req = FileTransferRequest(storePathsUrl); - auto res = getFileTransfer()->download(req); + auto res = getFileTransfer()->transfer(req); auto state = std::make_unique<EvalState>(SearchPath{}, store); auto v = state->allocValue(); |