gradle2nix icon indicating copy to clipboard operation
gradle2nix copied to clipboard

Cannot nix-build gradle2nix based on readme

Open Profpatsch opened this issue 2 years ago • 4 comments

> 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 avatar May 23 '22 09:05 Profpatsch

looks like it broke with nixpkgs https://github.com/NixOS/nixpkgs/commit/01f4c7ec881a0a52638f090aacf51461a20b472

Profpatsch avatar May 23 '22 09:05 Profpatsch

@Profpatsch Any workarounds for this?

Sintrastes avatar Sep 20 '22 15:09 Sintrastes

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

chuangzhu avatar Sep 21 '22 01:09 chuangzhu

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

/cc @tadfisher

lorenzleutgeb avatar Nov 08 '22 14:11 lorenzleutgeb