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

V2: Fix buildGradlePackage overrides #69

Closed
wants to merge 1 commit into from

Conversation

expenses
Copy link

removeAttrs removes the wrong attr, it should be overrides not overlays. Otherwise you get this:

warning: Git tree '/home/ashley/projects/gradle2nix' is dirty
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)while evaluating derivation 'gradle2nix-2.0.0'
         whose name attribute is located at /nix/store/dydg48djlykksz8cxq0xjplyxpa9pvf4-source/pkgs/stdenv/generic/make-derivation.nix:331:7while evaluating attribute 'overrides' of derivation 'gradle2nix-2.0.0'

         at /nix/store/x11vcpas41sisbl9fj9idb5y1fnsxpih-source/default.nix:49:5:

           48|
           49|     overrides = {};
             |     ^
           50|

       error: cannot coerce a set to a string

@njaremko njaremko mentioned this pull request Jun 23, 2024
@tadfisher
Copy link
Owner

Done in 0160c94, thanks!

@tadfisher tadfisher closed this Jul 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants