nixos/tests/hocker-fetchdocker: fix evaluation

it still does not build
This commit is contained in:
Symphorien Gibol 2018-08-10 14:26:22 +02:00
parent 9375312ab9
commit 0d13dc3654

View file

@ -32,7 +32,7 @@
let let
pathParts = pathParts =
(builtins.filter (builtins.filter
({prefix}: "DOCKER_CREDENTIALS" == prefix) ({prefix, path}: "DOCKER_CREDENTIALS" == prefix)
builtins.nixPath); builtins.nixPath);
in in
if (pathParts != []) then (builtins.head pathParts).path else "" if (pathParts != []) then (builtins.head pathParts).path else ""