mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
* Outline of the new scheme for derivate distribution.
This commit is contained in:
parent
2b95a9dc05
commit
6011bd0da2
4 changed files with 35 additions and 4 deletions
|
|
@ -250,6 +250,10 @@ static FState realise(FState fs, StringSet & paths)
|
|||
/* Register the normal form. */
|
||||
nf = storeSuccessor(fs, nf, paths);
|
||||
|
||||
/* Expand the hash into the target path. */
|
||||
expandHash(hash, path);
|
||||
|
||||
#if 0
|
||||
/* Perhaps the path already exists and has the right hash? */
|
||||
if (pathExists(path)) {
|
||||
|
||||
|
|
@ -267,6 +271,7 @@ static FState realise(FState fs, StringSet & paths)
|
|||
copyPath(path2, path);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
return nf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue