closure-info: another half-blind attempt to fix on Hydra

The previous one was very bad and worsened the situation.
But even running with some nix-1.12 I'm unable to reproduce
the original failure.  Let's unblock channels for now.
This commit is contained in:
Vladimír Čunát 2017-11-01 08:07:15 +01:00
parent 7320572387
commit c4be15a83b
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -8,7 +8,10 @@
{ rootPaths }:
if builtins.langVersion >= 5 then
#if builtins.langVersion >= 5 then
# FIXME: it doesn't work on Hydra, failing to find mkdir;
# perhaps .attrs.sh clobbers PATH with new nix?
if false then
# Nix >= 1.12: Include NAR hash / size info.
@ -19,7 +22,7 @@ if builtins.langVersion >= 5 then
exportReferencesGraph.closure = rootPaths;
nativeBuildInputs = [ jq ];
PATH = "${coreutils}/bin:${jq}/bin";
builder = builtins.toFile "builder"
''