1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

maintainers/hydra-eval-failures: fix with new lib

lib/maintainers.nix now is a function
This commit is contained in:
Robin Gloster 2017-09-24 11:31:59 +02:00
parent a75174ae4c
commit 1554282290
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -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()}