Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvn2nix lock file missing a dependency #60

Open
crabdancing opened this issue May 20, 2024 · 0 comments
Open

mvn2nix lock file missing a dependency #60

crabdancing opened this issue May 20, 2024 · 0 comments

Comments

@crabdancing
Copy link

crabdancing commented May 20, 2024

Trying to port circuitjs1 to nix is not working. The build process reports a missing dependency:

> nix run
error: builder for '/nix/store/jj93snq27rw8yjbn0sp6id40nwx127xv-circuitjs1-0.9.3.drv' failed with exit code 1;
      last 10 log lines:
      > [INFO] Finished at: 2024-05-20T22:59:11Z
      > [INFO] ------------------------------------------------------------------------
      > [ERROR] Plugin org.apache.maven.plugins:maven-war-plugin:3.4.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-war-plugin:jar:3.4.0 (absent): Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-war-plugin:jar:3.4.0 has not been downloaded from it before. -> [Help 1]
      > [ERROR]
      > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      > [ERROR]
      > [ERROR] For more information about the errors and possible solutions, please read the following articles:
      > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
      >
      For full logs, run 'nix log /nix/store/jj93snq27rw8yjbn0sp6id40nwx127xv-circuitjs1-0.9.3.drv'.

The relevant repository can be found here, complete with a Nix flake that should work fine if you want to reproduce the error: https://github.com/crabdancing/circuitjs1

Any help would be greatly appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant