Conversation
|
Fixed by dff8e5b |
|
@milahu: Yes I'm using that branch. I patched Removing I couldn't find |
|
Although, in that commit you linked, the Although that doesn't matter because that package is only being called with an empty attribute set: buildGradlePackage = callPackage ./build-gradle-package.nix { }; |
|
you can try
there never was an dff8e5b uses nit: your remove_option_and_value function
feel free to share your code if youre stuck non-flake example use of gradle2nix in my nur-packages: |
The Bash was just a fix to continue for now. I'll find out where the extra command-line options are coming from. Thanks for the tip!
Thanks again! I have the XTDB database project almost building, it seems that This is the XTDB To see my commits just compare it to the git log --stat -p 2.0.x..2.0.x_nixI also had to install I put some comments in the |
|
Never mind about my build failures for the I added an extra |
|
the 2.0.x branch seems outdated
v2.0.0 is on the main branch building xtdb is the easy part, see xtdb.nix installing and running xtdb is the hard part... most jar files dont works with the "standalone" jar file does not work im trying to replicate ./gradlew :clojureRepl docs are not helpful maybe you know more to get this running |
|
How did you get the |
The XTDB v2.0.0 Dockerfile has the parameters you need to get it running. (I haven't confirmed that it actually works, I just found it.) |
|
its still a mystery why this works with it seems like gradle.passthru.unwrapped is not passed to gradle2nix debug: require gradle-unwrapped =
- if gradle ? passthru && gradle.passthru ? unwrapped then gradle.passthru.unwrapped else gradle;
+ gradle.passthru.unwrapped;in contrast, removing the alternative: replace |
the option
--console=plainmakesgradlefail withbecause gradleSetupHook already adds
--console plainsince 2024-07-12see also gradle/gradle#30913
FIXME update
nixpkgsinflake.lockthis error only happens when calling gradle2nix from non-flake nix