diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-08-06 15:52:33 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-08-06 15:53:09 -0400 |
commit | f795f0fabc785cd2eb2ccfec71564c8af819ecf4 (patch) | |
tree | 76b0719449f036ea9312a9fb96e5ea241b455d9d /src/libstore/derivations.cc | |
parent | 7302761f6451dafd8834f0db9fdd7dcc27f49eff (diff) | |
parent | 8b175f58d1a25dd904fb0ffdf5b2b9501983dba0 (diff) |
Merge branch 'drv-outputs-map-allow-missing-namespace' of github.com:obsidiansystems/nix into templated-daemon-protocol
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r-- | src/libstore/derivations.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index 23af4f59c..b7aef9d65 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -605,7 +605,7 @@ Source & readDerivation(Source & in, const Store & store, BasicDerivation & drv, drv.outputs.emplace(std::move(name), std::move(output)); } - drv.inputSrcs = read(store, in, Proxy<StorePathSet> {}); + drv.inputSrcs = nix::worker_proto::read(store, in, Phantom<StorePathSet> {}); in >> drv.platform >> drv.builder; drv.args = readStrings<Strings>(in); @@ -640,7 +640,7 @@ void writeDerivation(Sink & out, const Store & store, const BasicDerivation & dr }, }, i.second.output); } - write(store, out, drv.inputSrcs); + nix::worker_proto::write(store, out, drv.inputSrcs); out << drv.platform << drv.builder << drv.args; out << drv.env.size(); for (auto & i : drv.env) |