mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 12:10:59 +01:00
Removed collision-bug between repositorys, each group of repositorys and each individual repository has now a scannable unique hash
This commit is contained in:
parent
79d5604780
commit
01062b0563
7 changed files with 30 additions and 21 deletions
|
|
@ -473,9 +473,6 @@ static Expr prim_derivationStrict(EvalState & state, const ATermVector & args)
|
|||
if(s[0] == '/' && s.length() != 1)
|
||||
s = s.substr(1, s.length());
|
||||
|
||||
if(s == stateRootRepos)
|
||||
throw EvalError(format("The statedir `%1%' is a keyword and cannot be used, choose another name") % stateRootRepos);
|
||||
|
||||
dir.path = s;
|
||||
}
|
||||
else if (statekey == "type") { dir.type = s; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue