nix build: Fix realising a store path

This commit is contained in:
Eelco Dolstra 2017-09-27 13:14:45 +02:00
parent d1c6e0fe8c
commit bfef3ec855

View file

@ -267,7 +267,9 @@ Buildables toBuildables(ref<Store> store, RealiseMode mode,
outputNames.insert(output.first);
pathsToBuild.insert(
b.drvPath + "!" + concatStringsSep(",", outputNames));
}
} else
for (auto & output : b.outputs)
pathsToBuild.insert(output.second);
buildables.push_back(std::move(b));
}
}