Closed Zimmi48 closed 3 years ago
I think it comes from optional (versionAtLeast "8.14") [ ocamlPackages.dune_2 ]
which produces a list of list ...
I did not know this was allowed and did not anticipate the case in map findInput (v.buildInputs ++ v.propagatedBuildInputs)
(deps.nix
)
maybe we should have a "deep flattening" function and use it there
I've got the same error in both the Coq repository and the toolbox repository when trying to use a bundle with a development version of the Coq derivation.
In the toolbox repository, I tried adding a bundle overriding the version of coq (set as the main attribute with
attribute = coq;
or with themain-job
setup) to a development version (master
orv8.14
). In the Coq repository, I tried relying on the updated nixpkgs derivation (again withattribute = coq
).In both cases, the command
nix-shell --arg do-nothing true
(or with the proper--argstr bundle
if this is not the default bundle) fails. The trace is: