Ignore hash in appendContext test

This commit is contained in:
Ken Micklas 2019-03-10 16:44:09 -04:00
parent 765b2f9cfc
commit 468dc493bd
1 changed files with 3 additions and 2 deletions

View File

@ -18,9 +18,10 @@ let
};
};
legit-context = builtins.getContext "${path}${drv.outPath}${drv.foo.outPath}${drv.drvPath}";
# TODO: Remove builtins.attrValues here once store hash is correct.
legit-context = builtins.attrValues (builtins.getContext "${path}${drv.outPath}${drv.foo.outPath}${drv.drvPath}");
constructed-context = builtins.getContext (builtins.appendContext "" desired-context);
constructed-context = builtins.attrValues (builtins.getContext (builtins.appendContext "" desired-context));
in [ (builtins.appendContext "foo" {})
(legit-context == constructed-context)
constructed-context