1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00
This commit is contained in:
Eelco Dolstra 2020-11-17 13:58:55 +01:00
parent bccff827dc
commit e6b7c7b79c
4 changed files with 14 additions and 12 deletions

View file

@ -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));
}
}