You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
I was trying to build the Spark Framework for NixOS, using this tool. Running mvn org.nixos.mvn2nix:mvn2nix-maven-plugin:mvn2nix in a checkout of the 2.5.4 branch of the Spark repo produced a project-info.json file that is almost 1 MB.
I then attempted to use the JSON file to with the following function definition:
error: attribute ‘authenticated’ missing, at /nix/store/lwmgp564z0bl06svlnw21gg3qy8kw3vb-nixos-16.09.1512.6b28bd0/nixos/pkgs/build-support/build-maven.nix:17:39
The structure of the JSON is not yet documented (as per #2), but here is what I'm seeing. The JSON file is a map with two keys project and dependencies. The value associated with dependencies is an array of maps, with each map specifying a dependency. e.g.
Thus the buildMaven function crashes when it tries to inherit the authenticated attributed from the parsed JSON.
If tried producing the project-info.json with both Maven 3.3.9 and 3.2.5, and this issue was in both outputs (although the outputs were slightly different). I'm running NixOS 16.09.
Is this just an instance of #5? I don't really understand what that issue is about.
If any more details are needed, I will do my best to provide them.
The text was updated successfully, but these errors were encountered:
I was trying to build the Spark Framework for NixOS, using this tool. Running
mvn org.nixos.mvn2nix:mvn2nix-maven-plugin:mvn2nix
in a checkout of the 2.5.4 branch of the Spark repo produced a project-info.json file that is almost 1 MB.I then attempted to use the JSON file to with the following function definition:
This produced the following error:
The structure of the JSON is not yet documented (as per #2), but here is what I'm seeing. The JSON file is a map with two keys
project
anddependencies
. The value associated withdependencies
is an array of maps, with each map specifying a dependency. e.g.However, some (around 20?) of these maps look different:
Thus the
buildMaven
function crashes when it tries toinherit
theauthenticated
attributed from the parsed JSON.If tried producing the
project-info.json
with both Maven 3.3.9 and 3.2.5, and this issue was in both outputs (although the outputs were slightly different). I'm running NixOS 16.09.Is this just an instance of #5? I don't really understand what that issue is about.
If any more details are needed, I will do my best to provide them.
The text was updated successfully, but these errors were encountered: