From 15542822907cd7d65863643311dfa425ef6a4c7a Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 24 Sep 2017 11:31:59 +0200 Subject: [PATCH] maintainers/hydra-eval-failures: fix with new lib lib/maintainers.nix now is a function --- maintainers/scripts/hydra-eval-failures.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/maintainers/scripts/hydra-eval-failures.py b/maintainers/scripts/hydra-eval-failures.py index f82d14c3b46e..5233e0624450 100755 --- a/maintainers/scripts/hydra-eval-failures.py +++ b/maintainers/scripts/hydra-eval-failures.py @@ -13,10 +13,8 @@ from pyquery import PyQuery as pq maintainers_json = subprocess.check_output([ - 'nix-instantiate', - 'lib/maintainers.nix', - '--eval', - '--json']) + 'nix-instantiate', '-E', 'import ./lib/maintainers.nix {}', '--eval', '--json' +]) maintainers = json.loads(maintainers_json) MAINTAINERS = {v: k for k, v in maintainers.iteritems()}