Merge pull request #44870 from symphorien/tests-eval

Fix evaluation of two tests
This commit is contained in:
xeji 2018-08-10 19:06:20 +02:00 committed by GitHub
commit 12eb1e96ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import ./make-test.nix ({ pkgs, lib }: import ./make-test.nix ({ pkgs, lib, ... }:
with lib; with lib;

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 ""