diff --git a/default.nix b/default.nix index 67a6ee7..7c97c1e 100644 --- a/default.nix +++ b/default.nix @@ -1,14 +1,15 @@ -{ lib -, stdenv -, makeWrapper -, jre -, gnome -, writeShellScript +{ + lib, + stdenv, + makeWrapper, + jre, + zenity, + writeShellScript, }: let warnScript = writeShellScript "warn-tlauncher-jre-version" '' if ! test -d "$HOME/.tlauncher"; then - ${gnome.zenity}/bin/zenity --warning \ + ${zenity}/bin/zenity --warning \ --text="On Tlauncher settings, set Java/JRE to 'Current only', otherwise minecraft will fail to launch." fi '';