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
pathParts =
(builtins.filter
({prefix}: "DOCKER_CREDENTIALS" == prefix)
({prefix, path}: "DOCKER_CREDENTIALS" == prefix)
builtins.nixPath);
in
if (pathParts != []) then (builtins.head pathParts).path else ""