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: Cannot set binary as executable #68

Open
frederictobiasc opened this issue Jun 11, 2024 · 1 comment
Open

v2: Cannot set binary as executable #68

frederictobiasc opened this issue Jun 11, 2024 · 1 comment
Milestone

Comments

@frederictobiasc
Copy link

Hi!
I tried building traccar using v2:

{fetchFromGitHub}: let
  gradle2nix = import (fetchTarball "https://github.com/tadfisher/gradle2nix/archive/v2.tar.gz") {};
in
  gradle2nix.buildGradlePackage {
    src = fetchFromGitHub {
      owner = "traccar";
      repo = "traccar";
      rev = "refs/tags/v6.2";
      hash = "sha256-RpLcPBW6TzlxaLj0ngxQtG4/HETKXzl4ckbtCtNPz38=";
    };
    pname = "traccar";
    version = "v6.2";
    lockFile = ./gradle.lock;
  }

which results in: Cannot set /nix/store/w266na4q1ajkk5f2w5hdk70yvpwixrdp-traccar-v6.2-gradle-repo/com/google/protobuf/protoc/4.27.0/protoc-4.27.0-linux-x86_64.exe as executable

complete build log

Building traccar with gradlew build works and results in having an executable protoc-4.27.0-linux-x86_64.exe in ~/.gradle

@frederictobiasc frederictobiasc changed the title v2: Cannot set protoc~x86_64.exe as executable v2: Cannot set binary as executable Jun 11, 2024
@tadfisher tadfisher added this to the 2.0.0 milestone Jun 16, 2024
@tadfisher
Copy link
Owner

Related: google/protobuf-gradle-plugin#726

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

2 participants