Skip to content

Commit

Permalink
ghidra: fix build on gradle 8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jchv committed Jan 18, 2025
1 parent a185fbd commit bc1e22d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkgs/tools/security/ghidra/0004-Fix-build-on-Gradle-8.12.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/gradle/hasPythonPackage.gradle b/gradle/hasPythonPackage.gradle
index 2d83cf0cd3..8f3205f9ff 100644
--- a/gradle/hasPythonPackage.gradle
+++ b/gradle/hasPythonPackage.gradle
@@ -44,7 +44,7 @@ task buildPyPackage {
doLast {
File setuptools = project(":Debugger-rmi-trace").findPyDep(".")
exec {
- workingDir { "build/pypkg" }
+ workingDir { file("build/pypkg") }
commandLine rootProject.PYTHON3, "-m", "pip"
args "wheel", "-w", "dist/", "--no-index", "--no-deps"
args "-f", setuptools
3 changes: 3 additions & 0 deletions pkgs/tools/security/ghidra/build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ let

# Remove build dates from output filenames for easier reference
./0003-Remove-build-datestamp.patch

# Fix build on Gradle 8.12
./0004-Fix-build-on-Gradle-8.12.patch
];

postPatch = ''
Expand Down

0 comments on commit bc1e22d

Please sign in to comment.