mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 06:22:42 +01:00
* Substitutes and nix-pull now work again.
* Fixed a segfault caused by the buffering of stderr. * Fix now allows the specification of the full output path. This should be used with great care, since it by-passes the normal hash generation. * Incremented the version number to 0.4 (prerelease).
This commit is contained in:
parent
ab5e8767fa
commit
0791282b2f
12 changed files with 169 additions and 89 deletions
|
|
@ -22,14 +22,6 @@ Hash hashTerm(ATerm t)
|
|||
}
|
||||
|
||||
|
||||
ATerm termFromPath(const Path & path)
|
||||
{
|
||||
ATerm t = ATreadFromNamedFile(path.c_str());
|
||||
if (!t) throw Error(format("cannot read aterm from `%1%'") % path);
|
||||
return t;
|
||||
}
|
||||
|
||||
|
||||
Path writeTerm(ATerm t, const string & suffix)
|
||||
{
|
||||
/* The id of a term is its hash. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue