mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Cleanup
This commit is contained in:
parent
bccff827dc
commit
e6b7c7b79c
4 changed files with 14 additions and 12 deletions
|
@ -1007,6 +1007,14 @@ Derivation Store::readDerivation(const StorePath & drvPath)
|
|||
}
|
||||
}
|
||||
|
||||
Derivation Store::readInvalidDerivation(const StorePath & drvPath)
|
||||
{
|
||||
return parseDerivation(
|
||||
*this,
|
||||
readFile(Store::toRealPath(drvPath)),
|
||||
Derivation::nameFromPath(drvPath));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue