fjordlauncher: pass through java paths

This commit is contained in:
Daniel Lovbrotte Olsen 2025-01-28 23:33:34 +01:00
parent a5f696d8e0
commit c3bb59ee5c

@ -7,5 +7,10 @@ in rec {
in table.${hash} or (prev.requireFile args);
fjordlauncher-unwrapped = import ./pkgs/fjordlauncher/unwrapped.nix final prev;
fjordlauncher = final.prismlauncher.override { prismlauncher-unwrapped = fjordlauncher-unwrapped; };
fjordlauncher = (final.prismlauncher.override { prismlauncher-unwrapped = fjordlauncher-unwrapped; }).overrideAttrs (oldAttrs: {
qtWrapperArgs = (builtins.map
(final.lib.strings.replaceStrings [ "PRISMLAUNCHER" ] ["FJORDLAUNCHER"])
oldAttrs.qtWrapperArgs
);
});
}