mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Make derivationFromPath work on diverted stores
This commit is contained in:
parent
eda2aaae92
commit
d64e0c1b64
5 changed files with 27 additions and 18 deletions
|
@ -7,14 +7,6 @@
|
|||
namespace nix {
|
||||
|
||||
|
||||
Derivation Store::derivationFromPath(const Path & drvPath)
|
||||
{
|
||||
assertStorePath(drvPath);
|
||||
ensurePath(drvPath);
|
||||
return readDerivation(drvPath);
|
||||
}
|
||||
|
||||
|
||||
void Store::computeFSClosure(const Path & path,
|
||||
PathSet & paths, bool flipDirection, bool includeOutputs, bool includeDerivers)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue