moneydance: 2023.3_5064 -> 2024.1_5118#306372
Conversation
lucasbergman
left a comment
There was a problem hiding this comment.
Brilliant, @philiptaron, thanks for the update. (Pity they made the version numbering inconsistent for URL construction.) Just a couple of things:
- Could you please split the version update and the AA change into two commits (this is feedback I got when I first uploaded this package)
- Consider sticking the antialias-related system properties with the rest of the JRE command line construction
Thanks again.
thiagokokada
left a comment
There was a problem hiding this comment.
I think this kind of setting should be done at the system level at your configuration instead of by application (like e.g.: theme settings), otherwise we will have lots of applications applying anti-aliasing in different ways.
I can also think that users that don't want anti-aliasing would be really annoyed if some random application is applying anti-aliasing for them.
Hm, upon rethinking it, I think I agree with @thiagokokada overall here. I didn't know (I don't use Java GUIs much anymore except Moneydance), but a user can set @philiptaron Could you whittle this PR down to just the version upgrade for now? Sound reasonable? |
|
Many other JavaFX applications have this setting. I don't know why it's not the default, but I do know that "looks gross by default" -- and it does! -- is pretty bad.
Here are a couple PRs adding antialiasing to packages: |
|
@thiagokokada, mind taking another look? |
leona-ya
left a comment
There was a problem hiding this comment.
Can you please change the commit message to moneydance: 2023.3_5064 -> 2024.1_5118
|
This appears to have broken evaluation for the package set on at least aarch64-darwin aarch64-darwin logsraghavsood@r-mbp-a15> nix-shell -p nixpkgs-review --run "GITHUB_TOKEN=$TOKEN nixpkgs-review pr --post-result 311861" ~/r/local/dev/github.com/RaghavSood/nixpkgs
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/311861/head:refs/nixpkgs-review/1
From https://github.com/NixOS/nixpkgs
6b5afbf413cd..979dd1308ebc master -> refs/nixpkgs-review/0
1fe8866947ce..351274bf946b refs/pull/311861/head -> refs/nixpkgs-review/1
$ git worktree add /Users/raghavsood/.cache/nixpkgs-review/pr-311861/nixpkgs 979dd1308ebc574742d466941dd65b9f2544f085
Preparing worktree (detached HEAD 979dd1308ebc)
Updating files: 100% (41042/41042), done.
HEAD is now at 979dd1308ebc Merge pull request #311842 from r-ryantm/auto-update/cargo-expand
$ nix-env --extra-experimental-features no-url-literals --option system aarch64-darwin -f /Users/raghavsood/.cache/nixpkgs-review/pr-311861/nixpkgs -qaP --xml --out-path --show-trace --no-allow-import-from-derivation
error:
… while querying the derivation named 'moneydance-2024.1_5118'
|
|
@RaghavSood -- evidently, on Darwin, the openjdk22 package evaluates to pkgs/development/compilers/zulu/22.nix rather than the openjdk22 expression from pkgs/development/compilers/openjdk/22.nix Let's fix it in a hacky way: diff --git a/pkgs/by-name/mo/moneydance/package.nix b/pkgs/by-name/mo/moneydance/package.nix
index 0c86365380f4..11803fc7845e 100644
--- a/pkgs/by-name/mo/moneydance/package.nix
+++ b/pkgs/by-name/mo/moneydance/package.nix
@@ -1,10 +1,10 @@
{ lib, stdenv, fetchzip, makeWrapper, openjdk22, openjfx22, jvmFlags ? [ ] }:
let
openjfx = openjfx22;
+ openjfxAvailable = !stdenv.isDarwin;
jdk = openjdk22.override {
enableJavaFX = true;
- inherit openjfx;
- };
+ } // lib.optionalAttrs openjfxAvailable { inherit openjfx; };
in
stdenv.mkDerivation (finalAttrs: {
pname = "moneydance";
@@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
};
nativeBuildInputs = [ makeWrapper ];
- buildInputs = [ jdk openjfx ];
+ buildInputs = [ jdk ] ++ lib.optionals openjfxAvailable [ openjfx ];
# Note the double escaping in the call to makeWrapper. The escapeShellArgs
# call quotes each element of the flags list as a word[1] and returns aBut we get another error: So there is more awry in the Java-on-MacOS than just this. |
|
Perhaps it's worth it to remove darwin as a support platform for this until it can be addressed. I'm not familiar enough with our Java handling to give it a shot or suggest a more practical workaround for now, unfortunately. |


Description of changes
Changelog: https://infinitekind.com/stabledl/2024_5118/changelog.txt
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/)