mirror of
https://github.com/NixOS/nix.git
synced 2025-12-05 08:31:00 +01:00
Don't add StorePathDescriptor for now
We don't need it yet, we can add it back later.
This commit is contained in:
parent
c67e0cc58c
commit
4540e7b940
14 changed files with 126 additions and 151 deletions
|
|
@ -2475,15 +2475,13 @@ DrvOutputs LocalDerivationGoal::registerOutputs()
|
|||
auto got = caSink.finish().first;
|
||||
ValidPathInfo newInfo0 {
|
||||
worker.store,
|
||||
{
|
||||
.name = outputPathName(drv->name, outputName),
|
||||
.info = FixedOutputInfo {
|
||||
{
|
||||
.method = outputHash.method,
|
||||
.hash = got,
|
||||
},
|
||||
.references = rewriteRefs(),
|
||||
outputPathName(drv->name, outputName),
|
||||
FixedOutputInfo {
|
||||
{
|
||||
.method = outputHash.method,
|
||||
.hash = got,
|
||||
},
|
||||
.references = rewriteRefs(),
|
||||
},
|
||||
Hash::dummy,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -95,10 +95,9 @@ void PathSubstitutionGoal::tryNext()
|
|||
subs.pop_front();
|
||||
|
||||
if (ca) {
|
||||
subPath = sub->makeFixedOutputPathFromCA({
|
||||
.name = std::string { storePath.name() },
|
||||
.info = caWithoutRefs(*ca),
|
||||
});
|
||||
subPath = sub->makeFixedOutputPathFromCA(
|
||||
std::string { storePath.name() },
|
||||
caWithoutRefs(*ca));
|
||||
if (sub->storeDir == worker.store.storeDir)
|
||||
assert(subPath == storePath);
|
||||
} else if (sub->storeDir != worker.store.storeDir) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue