recaf: init at 4.0-unstable-2024-12-11#350589
Closed
nartsisss wants to merge 1 commit intoNixOS:masterfrom
Closed
Conversation
7d6231d to
1167816
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4755 |
dc79744 to
c0beafd
Compare
13 tasks
Member
Member
Author
|
@pluiedev I tested it on aarch64 (both darwin & linux), and according to the logs from Ofborg, everything is fine on x86_64 as well.
|
Member
Try rebasing as you're about 10k commits behind master :p |
Member
Author
c0beafd to
a4c214c
Compare
Aleksanaa
reviewed
Nov 11, 2024
e8b4f95 to
09c2a16
Compare
09c2a16 to
490abfd
Compare
Contributor
|
Addresses: #267124 |
490abfd to
7867b33
Compare
7867b33 to
8633821
Compare
8633821 to
5e34a41
Compare
FliegendeWurst
requested changes
Mar 2, 2025
Comment on lines
+25
to
+26
| #Required for build info | ||
| leaveDotGit = true; |
Member
There was a problem hiding this comment.
Suggested change
| #Required for build info | |
| leaveDotGit = true; |
This needs to be patched out of the gradle scripts.
The hash is not reproducible.
| }; | ||
|
|
||
| nativeBuildInputs = [ | ||
| git |
Member
|
Try adding this patch: and these changes: diff --git a/pkgs/by-name/re/recaf/package.nix b/pkgs/by-name/re/recaf/package.nix
index 9225c94ee95d..95fc95f4f46b 100644
--- a/pkgs/by-name/re/recaf/package.nix
+++ b/pkgs/by-name/re/recaf/package.nix
@@ -8,26 +8,25 @@
makeWrapper,
makeDesktopItem,
copyDesktopItems,
+ substitute,
}:
let
pname = "recaf";
+ version = "4.0-unstable-2025-02-20";
+ commit = "6e83f6a7d22aa95e8f4caaa13c84e8074b7373fa";
jdk = jdk23.override { enableJavaFX = true; };
in
stdenv.mkDerivation {
- inherit pname;
- version = "4.0-unstable-2024-12-11";
+ inherit pname version;
src = fetchFromGitHub {
owner = "Col-E";
repo = "Recaf";
- rev = "483b8004251e5c654090d2315af30913d724a083";
- hash = "sha256-OKz9KSl1g0ddLm38f6E6Ee9X0Q53hngPZPFDtramunQ=";
- #Required for build info
- leaveDotGit = true;
+ rev = commit;
+ hash = "sha256-GyDGsdGO4Uq8L0CLc1falPDQE7W1xLaHCcasucqFxwQ=";
};
nativeBuildInputs = [
- git
jdk
gradle
makeWrapper
@@ -37,6 +36,10 @@ stdenv.mkDerivation {
patches = [
./wrap-javafx.patch
./use-java-23.patch
+ (substitute {
+ src = ./create-version-file.patch;
+ inherit version commit;
+ })
];
mitmCache = gradle.fetchDeps {
diff --git a/pkgs/by-name/re/recaf/wrap-javafx.patch b/pkgs/by-name/re/recaf/wrap-javafx.patch
index b0f865961fc0..3f1c4d062792 100644
--- a/pkgs/by-name/re/recaf/wrap-javafx.patch
+++ b/pkgs/by-name/re/recaf/wrap-javafx.patch
@@ -5,7 +5,7 @@ index 04d19ecc8..6f2af575f 100644
@@ -5,11 +5,15 @@
}
- def javaFxVersion = '22.0.1'
+ def javaFxVersion = '23.0.2'
-def javaFxIncludeInDist = System.getProperty('skip_jfx_bundle') == null
+def javaFxPlatform = System.getenv('FX_PLATFORM')
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Recaf - modern Java bytecode editor

Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.