nixos/tests/hocker-fetchdocker: fix evaluation
it still does not build
This commit is contained in:
parent
9375312ab9
commit
0d13dc3654
|
@ -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 ""
|
||||||
|
|
Loading…
Reference in New Issue