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

Cannot nix-build gradle2nix based on readme #53

Open
Profpatsch opened this issue May 23, 2022 · 4 comments
Open

Cannot nix-build gradle2nix based on readme #53

Profpatsch opened this issue May 23, 2022 · 4 comments

Comments

@Profpatsch
Copy link

> nix-build -E 'import (fetchTarball "https://github.com/tadfisher/gradle2nix/archive/master.tar.gz")  {}'
error: value is a function while a set was expected

       at /nix/store/fiz86yyci06adkqi9wrasclcvy2amm5x-source/gradle-env.nix:328:5:

          327|   mkGradle = gradleSpec:
          328|     gradleGen.gradleGen {
             |     ^
          329|       inherit (gradleSpec) nativeVersion;
(use '--show-trace' to show detailed location information)
@Profpatsch
Copy link
Author

looks like it broke with nixpkgs NixOS/nixpkgs@01f4c7e

@Sintrastes
Copy link

@Profpatsch Any workarounds for this?

@chuangzhu
Copy link

https://github.com/randomnetcat/gradle2nix works for me

@lorenzleutgeb
Copy link

There's a PR ready at #49, and some forks that work.

/cc @tadfisher

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

4 participants