diff --git a/pkgs/development/python-modules/python-xapp/default.nix b/pkgs/development/python-modules/python-xapp/default.nix index 698f9735fd21..54d8e7a256e1 100644 --- a/pkgs/development/python-modules/python-xapp/default.nix +++ b/pkgs/development/python-modules/python-xapp/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "python-xapp"; - version = "2.4.2"; + version = "3.0.0"; format = "other"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "linuxmint"; repo = "python-xapp"; rev = version; - hash = "sha256-Gbm4YT9ZyrROOAbKz5xYd9J9YG9cUL2Oo6dDCPciaBs="; + hash = "sha256-OvYbMu/2cQLTHHbHh4zESf1X22AfZe8ZEfzeOBDcU90="; }; nativeBuildInputs = [ @@ -43,6 +43,10 @@ buildPythonPackage rec { postPatch = '' substituteInPlace "xapp/os.py" \ --replace-fail "/usr/bin/pkexec" "${polkit}/bin/pkexec" + + # We actually want the localedir provided by the caller. + substituteInPlace "xapp/util/__init__.py" \ + --replace-fail "/usr/share/locale" "/run/current-system/sw/share/locale" ''; doCheck = false;